nrfxlib API 0.1.0
|
int32_t mpsl_fem_pa_power_control_set | ( | mpsl_fem_pa_power_control_t | pa_power_control | ) |
#include <mpsl/fem/include/protocol/mpsl_fem_protocol_api.h>
Sets the PA power control.
Setting the PA power control informs the FEM implementation how the PA is to be controlled before the next transmission.
The PA power control set by this function is to be applied to control signals or parameters. What signals and parameters are controlled and how does it happen depends on implementation of given FEM. The meaning of pa_power_control
parameter is fully FEM type-dependent. For FEM type-independent protocol implementation please use the function mpsl_fem_tx_power_split and provide outcome of this function returned by the parameter p_tx_power_split
to the call to mpsl_fem_pa_power_control_set. For applications intended for testing the FEM itself when mpsl_fem_tx_power_split is not used you must make the pa_power_control
parameter on your own.
[in] | pa_power_control | PA power control to be applied to the FEM. |
0 | PA power control has been applied successfully. |
-NRF_EINVAL | PA power control could not be applied. Provided pa_power_control is invalid. |