53 #ifndef _RTEMS_RTEMS_EVENT_H 54 #define _RTEMS_RTEMS_EVENT_H 84 #define RTEMS_EVENT_31 0x80000000 104 #define RTEMS_EVENT_26 0x04000000 114 #define RTEMS_EVENT_24 0x01000000 124 #define RTEMS_EVENT_25 0x02000000 134 #define RTEMS_EVENT_30 0x40000000 144 #define RTEMS_EVENT_29 0x20000000 153 #define RTEMS_EVENT_SYSTEM_TRANSIENT RTEMS_EVENT_31 207 #define RTEMS_ALL_EVENTS 0xffffffff 217 #define RTEMS_EVENT_0 0x00000001 227 #define RTEMS_EVENT_1 0x00000002 237 #define RTEMS_EVENT_10 0x00000400 247 #define RTEMS_EVENT_11 0x00000800 257 #define RTEMS_EVENT_12 0x00001000 267 #define RTEMS_EVENT_13 0x00002000 277 #define RTEMS_EVENT_14 0x00004000 287 #define RTEMS_EVENT_15 0x00008000 297 #define RTEMS_EVENT_16 0x00010000 307 #define RTEMS_EVENT_17 0x00020000 317 #define RTEMS_EVENT_18 0x00040000 327 #define RTEMS_EVENT_19 0x00080000 337 #define RTEMS_EVENT_2 0x00000004 347 #define RTEMS_EVENT_20 0x00100000 357 #define RTEMS_EVENT_21 0x00200000 367 #define RTEMS_EVENT_22 0x00400000 377 #define RTEMS_EVENT_23 0x00800000 387 #define RTEMS_EVENT_27 0x08000000 397 #define RTEMS_EVENT_28 0x10000000 407 #define RTEMS_EVENT_3 0x00000008 417 #define RTEMS_EVENT_4 0x00000010 427 #define RTEMS_EVENT_5 0x00000020 437 #define RTEMS_EVENT_6 0x00000040 447 #define RTEMS_EVENT_7 0x00000080 457 #define RTEMS_EVENT_8 0x00000100 467 #define RTEMS_EVENT_9 0x00000200 477 #define RTEMS_PENDING_EVENTS 0 633 #define RTEMS_EVENT_SYSTEM_NETWORK_CLOSE RTEMS_EVENT_26 641 #define RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT RTEMS_EVENT_24 648 #define RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP RTEMS_EVENT_25 656 #define RTEMS_EVENT_SYSTEM_SERVER RTEMS_EVENT_30 664 #define RTEMS_EVENT_SYSTEM_SERVER_RESUME RTEMS_EVENT_29 #define RTEMS_NO_WAIT
This option constant indicates that the task does not want to wait on the resource.
This header file defines types provided by the Classic API.
#define RTEMS_EVENT_SYSTEM_TRANSIENT
This is a reserved system event for transient usage.
rtems_status_code rtems_event_system_send(rtems_id id, rtems_event_set event_in)
Sends a system event set to a task.
uint32_t rtems_option
This type is used to represent an option set.
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.
This header file defines the status codes and support functions of the Classic API.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
static rtems_status_code rtems_event_transient_send(rtems_id id)
Sends the transient event to the specified task.
static void rtems_event_transient_clear(void)
Clears the transient event.
Watchdog_Interval rtems_interval
This type is used to represent clock tick intervals.
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.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
This header file defines options provided by the Classic API.
uint32_t rtems_event_set
This integer type can hold an event set of up to 32 events represented as a bit field.
rtems_status_code rtems_event_send(rtems_id id, rtems_event_set event_in)
Sends an event set to a task.
static rtems_status_code rtems_event_transient_receive(rtems_option option_set, rtems_interval ticks)
Receives the transient event.
#define RTEMS_EVENT_ALL
This option constant indicates that the task wishes to wait until all events of interest are availabl...