ChibiOS/RT Architecture - Reference Manual - Guides |
Events code. More...
#include "ch.h"
Go to the source code of this file.
Functions | |
void | chEvtRegisterMask (EventSource *esp, EventListener *elp, eventmask_t mask) |
Registers an Event Listener on an Event Source. | |
void | chEvtUnregister (EventSource *esp, EventListener *elp) |
Unregisters an Event Listener from its Event Source. | |
eventmask_t | chEvtClear (eventmask_t mask) |
Clears the pending events specified in the mask. | |
eventmask_t | chEvtPend (eventmask_t mask) |
Pends a set of event flags on the current thread, this is much faster than using chEvtBroadcast() or chEvtSignal() . | |
void | chEvtSignal (Thread *tp, eventmask_t mask) |
Pends a set of event flags on the specified Thread . | |
void | chEvtSignalI (Thread *tp, eventmask_t mask) |
Pends a set of event flags on the specified Thread . | |
void | chEvtBroadcast (EventSource *esp) |
Signals all the Event Listeners registered on the specified Event Source. | |
void | chEvtBroadcastI (EventSource *esp) |
Signals all the Event Listeners registered on the specified Event Source. | |
void | chEvtDispatch (const evhandler_t *handlers, eventmask_t mask) |
Invokes the event handlers associated to an event flags mask. | |
eventmask_t | chEvtWaitOne (eventmask_t mask) |
Waits for exactly one of the specified events. | |
eventmask_t | chEvtWaitAny (eventmask_t mask) |
Waits for any of the specified events. | |
eventmask_t | chEvtWaitAll (eventmask_t mask) |
Waits for all the specified events. | |
eventmask_t | chEvtWaitOneTimeout (eventmask_t mask, systime_t time) |
Waits for exactly one of the specified events. | |
eventmask_t | chEvtWaitAnyTimeout (eventmask_t mask, systime_t time) |
Waits for any of the specified events. | |
eventmask_t | chEvtWaitAllTimeout (eventmask_t mask, systime_t time) |
Waits for all the specified events. |
Events code.
Definition in file chevents.c.