![]() |
nrfxlib API 3.3.99
|
| uint8_t nrf_802154_csma_ca_backoff_periods_get | ( | uint8_t | be | ) |
#include <nrf_802154/driver/src/mac_features/nrf_802154_csma_ca_backoff.h>
Gets the number of backoff periods to wait before the next CCA attempt of CSMA/CA.
When test modes are not enabled, the number of backoff periods is a random value in the range from 0 to (2^BE - 1), where BE is the current backoff exponent, as defined in IEEE Std. 802.15.4.
When test modes are enabled the returned value depends on the value returned by nrf_802154_pib_test_mode_csmaca_backoff_get .
| [in] | be | Backoff Exponent. Allowed range 0...8. |