nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches

◆ APP_EVENT_SUBSCRIBE_FIRST

#define APP_EVENT_SUBSCRIBE_FIRST ( lname,
ename )

#include <include/app_event_manager.h>

Value:
_APP_EVENT_SUBSCRIBE(lname, ename, _APP_EM_MARKER_FIRST_ELEMENT); \
const struct {} _CONCAT(_CONCAT(__event_subscriber_, ename), first_sub_redefined) = {}

Subscribe a listener to an event type as first module that is being notified.

Parameters
lnameName of the listener.
enameName of the event.