An event set or condition is built by a bitwise OR of
the desired events. The set of valid events is RTEMS.EVENT_0
through
RTEMS.EVENT_31
. If an event is not explicitly specified in the set or
condition, then it is not present. Events are specifically
designed to be mutually exclusive, therefore bitwise OR and
addition operations are equivalent as long as each event appears
exactly once in the event set list.
For example, when sending the event set consisting of
RTEMS.EVENT_6
, RTEMS.EVENT_15
, and RTEMS.EVENT_31
,
the event parameter to the rtems.event_send
directive should be RTEMS.EVENT_6 or RTEMS.EVENT_15 or RTEMS.EVENT_31
.
Copyright © 1988-2004 OAR Corporation