Connects an event to an event subscriber via Event Fabric.
This function connects event sources to event subscribers.
It is not possible to read event status in this module (except software events). Event status must be read in the module that contains the event source. How a specific event subscriber reacts to an event is configured and documented in the respective modules.
For a full list of configurable and constant mapped event sources to event subscribers see the register descriptions for Event Fabric.
Defines for event subscriber argument (ui32EventSubscriber
) have the format:
EVENT_O_[subscriber_name]
Defines for event source argument (ui32EventSource
) must have the following format where valid event_enum
values are found in the register description :
EVENT_[subscriber_name]_EV_[event_enum]
Examples of valid defines for ui32EventSource:
- Note
- Each event subscriber can only receive a sub-set of the event sources!
-
Switching the event source is not glitch free, so it is imperative that the subscriber is disabled for interrupts when switching the event source. The behavior is undefined if not disabled.
- Parameters
-
ui32EventSubscriber | is the configurable event subscriber to receive the event. Click the event subscriber to see the list of valid event sources in the register description.
|
ui32EventSource | is the specific event that must be acted upon.
- Format:
EVENT_[subscriber_name]_EV_[event_enum] (see explanation above)
|
- Returns
- None
Definition at line 142 of file event.h.