56#ifndef _RTEMS_RTEMS_EVENT_H
57#define _RTEMS_RTEMS_EVENT_H
96#define RTEMS_ALL_EVENTS 0xffffffff
106#define RTEMS_EVENT_0 0x00000001
116#define RTEMS_EVENT_1 0x00000002
126#define RTEMS_EVENT_2 0x00000004
136#define RTEMS_EVENT_3 0x00000008
146#define RTEMS_EVENT_4 0x00000010
156#define RTEMS_EVENT_5 0x00000020
166#define RTEMS_EVENT_6 0x00000040
176#define RTEMS_EVENT_7 0x00000080
186#define RTEMS_EVENT_8 0x00000100
196#define RTEMS_EVENT_9 0x00000200
206#define RTEMS_EVENT_10 0x00000400
216#define RTEMS_EVENT_11 0x00000800
226#define RTEMS_EVENT_12 0x00001000
236#define RTEMS_EVENT_13 0x00002000
246#define RTEMS_EVENT_14 0x00004000
256#define RTEMS_EVENT_15 0x00008000
266#define RTEMS_EVENT_16 0x00010000
276#define RTEMS_EVENT_17 0x00020000
286#define RTEMS_EVENT_18 0x00040000
296#define RTEMS_EVENT_19 0x00080000
306#define RTEMS_EVENT_20 0x00100000
316#define RTEMS_EVENT_21 0x00200000
326#define RTEMS_EVENT_22 0x00400000
336#define RTEMS_EVENT_23 0x00800000
346#define RTEMS_EVENT_24 0x01000000
356#define RTEMS_EVENT_25 0x02000000
366#define RTEMS_EVENT_26 0x04000000
376#define RTEMS_EVENT_27 0x08000000
386#define RTEMS_EVENT_28 0x10000000
396#define RTEMS_EVENT_29 0x20000000
406#define RTEMS_EVENT_30 0x40000000
416#define RTEMS_EVENT_31 0x80000000
426#define RTEMS_PENDING_EVENTS 0
444#define RTEMS_EVENT_SYSTEM_NETWORK_CLOSE RTEMS_EVENT_26
452#define RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT RTEMS_EVENT_24
460#define RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP RTEMS_EVENT_25
537#define RTEMS_EVENT_SYSTEM_SERVER RTEMS_EVENT_30
545#define RTEMS_EVENT_SYSTEM_SERVER_RESUME RTEMS_EVENT_29
553#define RTEMS_EVENT_SYSTEM_TRANSIENT RTEMS_EVENT_31
572static inline void rtems_event_transient_clear(
void )
This header file provides types used by the Classic API.
rtems_status_code rtems_event_send(rtems_id id, rtems_event_set event_in)
Sends the event set to the task.
Definition: eventsend.c:46
rtems_status_code rtems_event_receive(rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out)
Receives or gets an event set from the calling task.
Definition: eventreceive.c:47
uint32_t rtems_event_set
This integer type represents a bit field which can hold exactly 32 individual events.
Definition: event.h:436
uint32_t rtems_option
This type represents a Classic API directive option set.
Definition: options.h:126
#define RTEMS_NO_WAIT
This option constant indicates that the task does not want to wait on the resource.
Definition: options.h:117
#define RTEMS_EVENT_ALL
This option constant indicates that the task wishes to wait until all events of interest are availabl...
Definition: options.h:93
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
Objects_Id rtems_id
This type represents RTEMS object identifiers.
Definition: types.h:94
Watchdog_Interval rtems_interval
This type represents clock tick intervals.
Definition: types.h:114
This header file provides the Classic API directive options.
rtems_status_code rtems_event_system_receive(rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out)
Receives or gets a system event set from the executing task.
Definition: systemeventreceive.c:46
rtems_status_code rtems_event_system_send(rtems_id id, rtems_event_set event_in)
Sends the system event set to the task.
Definition: systemeventsend.c:45
#define RTEMS_EVENT_SYSTEM_TRANSIENT
This event set constant represents the reserved system event for transient usage.
Definition: event.h:553
This header file provides the status codes of Classic API directives and support functions.