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

◆ mpsl_fem_simple_gpio_interface_config_get()

int32_t mpsl_fem_simple_gpio_interface_config_get ( mpsl_fem_simple_gpio_interface_config_t *const  p_config)

#include <mpsl/fem/simple_gpio/include/mpsl_fem_config_simple_gpio.h>

Returns the PA and LNA device configuration.

This function gets device interface parameters for the PA/LNA module.

If the passed pointer is incorrect, the function returns the error code. If the corresponding setter was not called beforehand, the function returns the error code.

Parameters
[out]p_configPointer to the interface parameters for the PA/LNA device to populate.
Return values
0PA/LNA configuration successfully populated.
-NRF_EPERMPA/LNA was not configured beforehand.