nrfxlib API 0.1.0
|
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.
[out] | p_config | Pointer to the interface parameters for the PA/LNA device to populate. |
0 | PA/LNA configuration successfully populated. |
-NRF_EPERM | PA/LNA was not configured beforehand. |