nRF Connect SDK API 0.1.0
|
enum module_state |
#include <include/caf/events/module_state_event.h>
Module states.
Enumerator | |
---|---|
MODULE_STATE_READY | Module is active. This state is reported when the module is initialized or woken up after suspending. |
MODULE_STATE_OFF | Module is suspended in reaction to power_down_event. The module cannot submit wake_up_event. |
MODULE_STATE_STANDBY | Module is suspended in reaction to power_down_event. The module can submit wake_up_event. |
MODULE_STATE_ERROR | Module reported fatal error. |
MODULE_STATE_COUNT | Number of module states. |
APP_EM_ENFORCE_ENUM_SIZE | Unused in code, required for inter-core compatibility. |