nRF Connect SDK API 2.8.99
|
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.
[in] | power | Tx power level to check. |
[in] | freq_mhz | Frequency in MHz. The output power check is valid only for this frequency. |
[in] | tx_power_ceiling | Flag to get the ceiling or floor of the requested transmit power level. |
power
and depending on tx_power_ceiling
it can be greater or lower than the requested one.