RTEMS  5.0.0
Macros | Typedefs | Functions
event.h File Reference

Classic Event Manager API. More...

#include <rtems/rtems/options.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>

Go to the source code of this file.

Macros

#define RTEMS_ALL_EVENTS   0xFFFFFFFF
 Constant used to send or receive all events.
 
#define RTEMS_EVENT_0   0x00000001
 Defines the bit in the event set associated with event 0.
 
#define RTEMS_EVENT_1   0x00000002
 Defines the bit in the event set associated with event 1.
 
#define RTEMS_EVENT_2   0x00000004
 Defines the bit in the event set associated with event 2.
 
#define RTEMS_EVENT_3   0x00000008
 Defines the bit in the event set associated with event 3.
 
#define RTEMS_EVENT_4   0x00000010
 Defines the bit in the event set associated with event 4.
 
#define RTEMS_EVENT_5   0x00000020
 Defines the bit in the event set associated with event 5.
 
#define RTEMS_EVENT_6   0x00000040
 Defines the bit in the event set associated with event 6.
 
#define RTEMS_EVENT_7   0x00000080
 Defines the bit in the event set associated with event 7.
 
#define RTEMS_EVENT_8   0x00000100
 Defines the bit in the event set associated with event 8.
 
#define RTEMS_EVENT_9   0x00000200
 Defines the bit in the event set associated with event 9.
 
#define RTEMS_EVENT_10   0x00000400
 Defines the bit in the event set associated with event 10.
 
#define RTEMS_EVENT_11   0x00000800
 Defines the bit in the event set associated with event 11.
 
#define RTEMS_EVENT_12   0x00001000
 Defines the bit in the event set associated with event 12.
 
#define RTEMS_EVENT_13   0x00002000
 Defines the bit in the event set associated with event 13.
 
#define RTEMS_EVENT_14   0x00004000
 Defines the bit in the event set associated with event 14.
 
#define RTEMS_EVENT_15   0x00008000
 Defines the bit in the event set associated with event 15.
 
#define RTEMS_EVENT_16   0x00010000
 Defines the bit in the event set associated with event 16.
 
#define RTEMS_EVENT_17   0x00020000
 Defines the bit in the event set associated with event 17.
 
#define RTEMS_EVENT_18   0x00040000
 Defines the bit in the event set associated with event 18.
 
#define RTEMS_EVENT_19   0x00080000
 Defines the bit in the event set associated with event 19.
 
#define RTEMS_EVENT_20   0x00100000
 Defines the bit in the event set associated with event 20.
 
#define RTEMS_EVENT_21   0x00200000
 Defines the bit in the event set associated with event 21.
 
#define RTEMS_EVENT_22   0x00400000
 Defines the bit in the event set associated with event 22.
 
#define RTEMS_EVENT_23   0x00800000
 Defines the bit in the event set associated with event 23.
 
#define RTEMS_EVENT_24   0x01000000
 Defines the bit in the event set associated with event 24.
 
#define RTEMS_EVENT_25   0x02000000
 Defines the bit in the event set associated with event 25.
 
#define RTEMS_EVENT_26   0x04000000
 Defines the bit in the event set associated with event 26.
 
#define RTEMS_EVENT_27   0x08000000
 Defines the bit in the event set associated with event 27.
 
#define RTEMS_EVENT_28   0x10000000
 Defines the bit in the event set associated with event 29.
 
#define RTEMS_EVENT_29   0x20000000
 Defines the bit in the event set associated with event 29.
 
#define RTEMS_EVENT_30   0x40000000
 Defines the bit in the event set associated with event 30.
 
#define RTEMS_EVENT_31   0x80000000
 Defines the bit in the event set associated with event 31.
 
#define RTEMS_PENDING_EVENTS   0
 Constant used to receive the set of currently pending events in rtems_event_receive().
 
#define RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT   RTEMS_EVENT_24
 Reserved system event for network SBWAIT usage.
 
#define RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP   RTEMS_EVENT_25
 Reserved system event for network SOSLEEP usage.
 
#define RTEMS_EVENT_SYSTEM_NETWORK_CLOSE   RTEMS_EVENT_26
 Reserved system event for network socket close.
 
#define RTEMS_EVENT_SYSTEM_SERVER_RESUME   RTEMS_EVENT_29
 Reserved system event to resume server threads, e.g timer or interrupt server.
 
#define RTEMS_EVENT_SYSTEM_SERVER   RTEMS_EVENT_30
 Reserved system event for the server threads, e.g timer or interrupt server.
 
#define RTEMS_EVENT_SYSTEM_TRANSIENT   RTEMS_EVENT_31
 Reserved system event for transient usage.
 

Typedefs

typedef uint32_t rtems_event_set
 Integer type to hold an event set of up to 32 events represented as a bit field.
 

Functions

rtems_status_code rtems_event_send (rtems_id id, rtems_event_set event_in)
 Sends an Event Set to the Target Task. More...
 
rtems_status_code rtems_event_receive (rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out)
 Receives pending events. More...
 
rtems_status_code rtems_event_system_send (rtems_id id, rtems_event_set event_in)
 See rtems_event_send().
 
rtems_status_code rtems_event_system_receive (rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out)
 See rtems_event_receive().
 
RTEMS_INLINE_ROUTINE rtems_status_code rtems_event_transient_send (rtems_id id)
 See rtems_event_system_send(). More...
 
RTEMS_INLINE_ROUTINE rtems_status_code rtems_event_transient_receive (rtems_option option_set, rtems_interval ticks)
 See rtems_event_system_receive(). More...
 
RTEMS_INLINE_ROUTINE void rtems_event_transient_clear (void)
 See rtems_event_system_receive(). More...
 

Detailed Description

Classic Event Manager API.