nrfxlib API 0.1.0
|
int32_t mpsl_fem_nrf21540_gpio_interface_config_set | ( | mpsl_fem_nrf21540_gpio_interface_config_t const *const | p_config | ) |
#include <mpsl/fem/nrf21540_gpio/include/mpsl_fem_config_nrf21540_gpio.h>
Configures the PA and LNA device interface.
This function sets device interface parameters for the PA/LNA module. The module can then be used to control PA or LNA (or both) through the given interface and resources.
The function also sets the PPI and GPIOTE channels to be configured for the PA/LNA interface.
[in] | p_config | Pointer to the interface parameters for the PA/LNA device. |
0 | PA/LNA control successfully configured. |
-NRF_EPERM | PA/LNA control configuration error. |