5.2.5.3 SYS_EventReceiver_t Structure
Syntax
typedef struct _SYS_EventReceiver_t
{
// Internal service fields for handler.
// Do not rely on them.
// They may be changed at future releases.
//\cond internal
SYS_EventService_t service;
SYS_EventService_t service;
//\endcond
/** Function to be called on event. Must not be set to NULL. */
void (*func)(SYS_EventId_t id, SYS_EventData_t data);
} SYS_EventReceiver_t;
Description
The user can use the SYS_EventReceiver_t
structure for declaring an
event receiver.