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

◆ mpsl_fem_power_model_output_fetch_t

typedef void(* mpsl_fem_power_model_output_fetch_t) (int8_t requested_power, uint16_t freq_mhz, mpsl_fem_power_model_output_t *p_output, bool tx_power_ceiling)

#include <mpsl/fem/include/mpsl_fem_power_model.h>

Pointer to function to be used by MPSL to retrieve the model's output.

Warning
This function must execute in maximum 2 microseconds in the worst case scenario. Failing to meet this requirement will lead to undefined behavior of the protocol stacks.
Parameters
[in]requested_powerRequested power on the antenna in dBm.
[in]freq_mhzFrequency in MHz.
[out]p_outputOutput of the model. For details, refer to mpsl_fem_power_model_output_t.
[in]tx_power_ceilingFlag to get ceiling or floor of requested RADIO TX power level.