RTEMS CPU Kit with SuperCore  4.11.2
Data Structures | Macros | Typedefs | Functions
event.h File Reference
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
#include <rtems/rtems/options.h>
Include dependency graph for event.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Event_Control
 

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. More...
 
#define RTEMS_EVENT_1   0x00000002
 Defines the bit in the event set associated with event 1. More...
 
#define RTEMS_EVENT_2   0x00000004
 Defines the bit in the event set associated with event 2. More...
 
#define RTEMS_EVENT_3   0x00000008
 Defines the bit in the event set associated with event 3. More...
 
#define RTEMS_EVENT_4   0x00000010
 Defines the bit in the event set associated with event 4. More...
 
#define RTEMS_EVENT_5   0x00000020
 Defines the bit in the event set associated with event 5. More...
 
#define RTEMS_EVENT_6   0x00000040
 Defines the bit in the event set associated with event 6. More...
 
#define RTEMS_EVENT_7   0x00000080
 Defines the bit in the event set associated with event 7. More...
 
#define RTEMS_EVENT_8   0x00000100
 Defines the bit in the event set associated with event 8. More...
 
#define RTEMS_EVENT_9   0x00000200
 Defines the bit in the event set associated with event 9. More...
 
#define RTEMS_EVENT_10   0x00000400
 Defines the bit in the event set associated with event 10. More...
 
#define RTEMS_EVENT_11   0x00000800
 Defines the bit in the event set associated with event 11. More...
 
#define RTEMS_EVENT_12   0x00001000
 Defines the bit in the event set associated with event 12. More...
 
#define RTEMS_EVENT_13   0x00002000
 Defines the bit in the event set associated with event 13. More...
 
#define RTEMS_EVENT_14   0x00004000
 Defines the bit in the event set associated with event 14. More...
 
#define RTEMS_EVENT_15   0x00008000
 Defines the bit in the event set associated with event 15. More...
 
#define RTEMS_EVENT_16   0x00010000
 Defines the bit in the event set associated with event 16. More...
 
#define RTEMS_EVENT_17   0x00020000
 Defines the bit in the event set associated with event 17. More...
 
#define RTEMS_EVENT_18   0x00040000
 Defines the bit in the event set associated with event 18. More...
 
#define RTEMS_EVENT_19   0x00080000
 Defines the bit in the event set associated with event 19. More...
 
#define RTEMS_EVENT_20   0x00100000
 Defines the bit in the event set associated with event 20. More...
 
#define RTEMS_EVENT_21   0x00200000
 Defines the bit in the event set associated with event 21. More...
 
#define RTEMS_EVENT_22   0x00400000
 Defines the bit in the event set associated with event 22. More...
 
#define RTEMS_EVENT_23   0x00800000
 Defines the bit in the event set associated with event 23. More...
 
#define RTEMS_EVENT_24   0x01000000
 Defines the bit in the event set associated with event 24. More...
 
#define RTEMS_EVENT_25   0x02000000
 Defines the bit in the event set associated with event 25. More...
 
#define RTEMS_EVENT_26   0x04000000
 Defines the bit in the event set associated with event 26. More...
 
#define RTEMS_EVENT_27   0x08000000
 Defines the bit in the event set associated with event 27. More...
 
#define RTEMS_EVENT_28   0x10000000
 Defines the bit in the event set associated with event 29. More...
 
#define RTEMS_EVENT_29   0x20000000
 Defines the bit in the event set associated with event 29. More...
 
#define RTEMS_EVENT_30   0x40000000
 Defines the bit in the event set associated with event 30. More...
 
#define RTEMS_EVENT_31   0x80000000
 Defines the bit in the event set associated with event 31. More...
 
#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_TIMER_SERVER   RTEMS_EVENT_30
 Reserved system event for the timer 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...