nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_802154_core_sleep_with_cancel_csma_ca()

bool nrf_802154_core_sleep_with_cancel_csma_ca ( nrf_802154_term_t term_lvl)

Request the transition to the RADIO_STATE_SLEEP state with the CSMA-CA procedure cancelled.

The function puts the driver into the sleep state and cancels the CSMA-CA backoff procedure in a single critical section (atomic operation).

Parameters
[in]term_lvlTermination level of this request. Selects procedures to abort.
Return values
trueEntering the sleep state succeeded.
falseEntering the sleep state failed (the driver is performing other procedure).