ChibiOS  0.0.0
event_source Struct Reference

Event Source structure. More...

#include <chevents.h>

Collaboration diagram for event_source:
Collaboration graph

Data Fields

event_listener_tnext
 First Event Listener registered on the Event Source. More...
 
volatile eventflags_t flags
 Stored event flags. More...
 
eventcallback_t cb
 Event source callback. More...
 
void * param
 User defined field. More...
 

Detailed Description

Event Source structure.

Events source object.

Note
The content of this structure is not part of the API and should not be relied upon. Implementers may define this structure in an entirely different way.
Retrieval and clearing of the flags are not defined in this API and are implementation-dependent.

Definition at line 74 of file chevents.h.

Field Documentation

event_listener_t* event_source::next

First Event Listener registered on the Event Source.

Definition at line 75 of file chevents.h.

Referenced by chEvtBroadcastFlagsI(), chEvtIsListeningI(), chEvtObjectInit(), and chEvtRegisterMaskWithFlags().

volatile eventflags_t event_source::flags

Stored event flags.

Definition at line 213 of file osal.h.

Referenced by osalEventBroadcastFlagsI(), and osalEventObjectInit().

eventcallback_t event_source::cb

Event source callback.

Definition at line 214 of file osal.h.

Referenced by osalEventBroadcastFlagsI(), osalEventObjectInit(), and osalEventSetCallback().

void* event_source::param

User defined field.

Definition at line 215 of file osal.h.

Referenced by osalEventObjectInit(), and osalEventSetCallback().