nrfxlib API 2.8.99
|
void nrf_802154_rx_on_when_idle_set | ( | bool | rx_on_when_idle | ) |
#include <nrf_802154/common/include/nrf_802154.h>
Sets the RxOnWhenIdle mode value.
This function sets the RxOnWhenIdle mode value, which defaults to true. When enabled, the radio will stay in receive state during idle periods. When disabled, the radio will stay in sleep state during idle periods. The new value will only take effect after a completed operation.
Notice that the period following a failed reception is not considered idle, rather continuation of the reception state. Same goes for the finalization of a reception during a receive slot.
An idle period is started in the following situations:
Combining disabled RxOnWhenIdle mode and enabled promiscuous mode is unsupported. Such configuration may result in an undefined behavior.
[in] | rx_on_when_idle | If RxOnWhenIdle mode should be enabled. |