nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ fem_tx_output_power_check()

int8_t fem_tx_output_power_check ( int8_t  power,
uint16_t  freq_mhz,
bool  tx_power_ceiling 
)

#include <include/fem_al/fem_al.h>

Check a real Tx output power, for the SoC with the front-end module for given parameters.

Check if the requested output power can be achieved. This function returns the exact value or if this value is not available for given frequency, the closest greater or lower value to the requested output power.

Parameters
[in]powerTx power level to check.
[in]freq_mhzFrequency in MHz. The output power check is valid only for this frequency.
[in]tx_power_ceilingFlag to get the ceiling or floor of the requested transmit power level.
Returns
The real Tx output power in dBm, which can be achieved for the given frequency. It might be different than power and depending on tx_power_ceiling it can be greater or lower than the requested one.