nRF Connect SDK API 0.1.0
|
#define MODULE_IDX | ( | mname | ) |
#include <include/caf/events/module_state_event.h>
Get index of module.
For example, the MODULE_IDX(buttons) can be used to get module index of module named buttons.
[in] | mname | Name of the module. |