nrfxlib API 0.1.0
|
Go to the source code of this file.
Macros | |
#define | ED_RSSIOFFS (-92) |
dBm value corresponding to value 0 in the EDSAMPLE register. | |
#define | ED_RSSISCALE 4 |
Factor needed to calculate the ED result based on the data from the RADIO peripheral. | |
#define | EDSAMPLE_MIN_REPORTED_VALUE (PHY_MIN_RECEIVER_SENSITIVITY - ED_RSSIOFFS + 10) |
Minimal reported EDSAMPLE value (reported as 0) | |
#define | EDSAMPLE_MAX_REPORTED_VALUE (ED_RESULT_MAX / ED_RSSISCALE) |
Maximal reported EDSAMPLE value (reported as 255) | |
#define | ED_DBM_MIN (PHY_MIN_RECEIVER_SENSITIVITY + 10) |
#define | ED_DBM_MAX (EDSAMPLE_MAX_REPORTED_VALUE + ED_RSSIOFFS) |
Functions | |
static uint8_t | nrf_802154_addons_energy_level_from_dbm_calculate (int8_t ed_dbm) |