nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ mpsl_fem_nrf21540_gpio_interface_config_set()

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.

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