nrfxlib API 2.8.99
|
int32_t mpsl_fem_simple_gpio_interface_config_set | ( | mpsl_fem_simple_gpio_interface_config_t const *const | p_config | ) |
#include <mpsl/fem/simple_gpio/include/mpsl_fem_config_simple_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 is not available. |