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