nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ mpsl_tx_power_dbm_to_radio_register_convert()

uint32_t mpsl_tx_power_dbm_to_radio_register_convert ( mpsl_tx_power_t req_radio_power)

#include <mpsl/include/mpsl_tx_power.h>

Converts radio power in dBm to RADIO.TXPOWER register code.

Parameters
[in]req_radio_powerRequested TX power desired for RADIO peripheral. The power value in dBm must be supported by the RADIO peripheral.
Returns
RADIO.TXPOWER register code corresponding to radio power in dBm.