nrfxlib API 0.1.0
|
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.
[in] | channel | The channel to be used for transmission |
[in] | tx_power | The value passed to the transmit metadata. |
[out] | p_tx_power_split | Pointer to the structure holding TX power split into raw components in dBm. |
The | real achieved total transmission power in dBm. |