nrfxlib API 2.8.99
|
nrf_802154_sleep_error_t nrf_802154_sleep_if_idle | ( | void | ) |
#include <nrf_802154/common/include/nrf_802154.h>
Changes the radio state to the RADIO_STATE_SLEEP state if the radio is idle.
The sleep state is the lowest power state. In this state, the radio cannot transmit or receive frames. It is the only state in which the driver releases the high-frequency clock and does not request timeslots from a radio arbiter.
NRF_802154_SLEEP_ERROR_NONE | The radio changes its state to the low power mode. |
NRF_802154_SLEEP_ERROR_BUSY | The driver could not schedule changing state. |