Functions | |
int8_t | nrf_802154_dbm_from_energy_level_calculate (uint8_t energy_level) |
Calculate dBm from the energy level received during the energy detection procedure. More... | |
uint8_t | nrf_802154_ccaedthres_from_dbm_calculate (int8_t dbm) |
Calculate the CCA energy detection threshold value from a given dBm level. More... | |
uint32_t | nrf_802154_first_symbol_timestamp_get (uint32_t end_timestamp, uint8_t psdu_length) |
Calculate the timestamp of the first symbol of the preamble in a received frame. More... | |
uint8_t nrf_802154_ccaedthres_from_dbm_calculate | ( | int8_t | dbm | ) |
Calculate the CCA energy detection threshold value from a given dBm level.
[in] | dbm | Energy level in dBm used to calculate the CCAEDTHRES value. |
int8_t nrf_802154_dbm_from_energy_level_calculate | ( | uint8_t | energy_level | ) |
Calculate dBm from the energy level received during the energy detection procedure.
[in] | energy_level | Energy level passed by nrf_802154_energy_detected. |
uint32_t nrf_802154_first_symbol_timestamp_get | ( | uint32_t | end_timestamp, |
uint8_t | psdu_length | ||
) |
Calculate the timestamp of the first symbol of the preamble in a received frame.
[in] | end_timestamp | Timestamp of the end of the last symbol in the frame (in us). |
[in] | psdu_length | Number of bytes in the frame PSDU. |