nRF Connect SDK API 2.8.99
|
#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. |