nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ mpsl_fem_simple_gpio_interface_config_set()

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.

Parameters
[in]p_configPointer to the interface parameters for the PA/LNA device.
Return values
0PA/LNA control successfully configured.
-NRF_EPERMPA/LNA is not available.