nrfcxx
0.1.0
C++-17 Framework for Nordic nRF5 Devices
|
RAII instance that configures the operational mode to enter OM_SLEEP when constructed, and to leave OM_SLEEP when destructed. More...
#include <nrfcxx/core.hpp>
Data Fields | |
const bool | track_om |
true iff time-in-mode is being tracked by this instance. | |
RAII instance that configures the operational mode to enter OM_SLEEP when constructed, and to leave OM_SLEEP when destructed.
This is used in WFE() and can be used when the operational implementation of sleeping is not __WFE()
, e.g. when it's sd_app_evt_wait()
.