Functions | |
int8_t | nrf_802154_dbm_from_energy_level_calculate (uint8_t energy_level) |
Converts the energy level received during the energy detection procedure to a dBm value. More... | |
uint8_t | nrf_802154_ccaedthres_from_dbm_calculate (int8_t dbm) |
Converts a given dBm level to a CCA energy detection threshold value. More... | |
uint32_t | nrf_802154_first_symbol_timestamp_get (uint32_t end_timestamp, uint8_t psdu_length) |
Calculates 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 | ) |
Converts a given dBm level to a CCA energy detection threshold value.
[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 | ) |
Converts the energy level received during the energy detection procedure to a dBm value.
[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 | ||
) |
Calculates 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 microseconds. |
[in] | psdu_length | Number of bytes in the frame PSDU. |