nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_802154_tx_power_convert_metadata_to_tx_power_split()

int8_t nrf_802154_tx_power_convert_metadata_to_tx_power_split ( uint8_t  channel,
nrf_802154_tx_power_metadata_t  tx_power,
nrf_802154_fal_tx_power_split_t *const  p_tx_power_split 
)

Convert tx_power value passed through metadata to raw components in dBms to be applied on each stage of the transmit path.

This function also ensures that the values meet the constraints for the given channel.

Parameters
[in]channelThe channel to be used for transmission
[in]tx_powerThe value passed to the transmit metadata.
[out]p_tx_power_splitPointer to the structure holding TX power split into raw components in dBm.
Return values
Thereal achieved total transmission power in dBm.