|
|
Event. More...
Data Structures | |
struct | os_event_s |
Compact type for event communication. More... | |
Typedefs | |
typedef struct os_event_s | os_event_t |
Data type for event storage. | |
Variables | |
struct os_event_s | os_event_invalid |
Invalid event. |
Event.
DioneOS event type is a compact data type designed for communication between parts of the firmware (i.e. threads, ISRs). Such a type is easy to be managed and copied, control of its lifetime is also simplified.
The events can be stored in specific ring buffer adapted to this data type (ring_buffer_ev.h).
struct os_event_s os_event_invalid |
Invalid event.
This predefined event is used for initialization and comparison. It contains specific pattern that can be recognized during debug:
{.signal=0xEF, .subtype=0xBE, .xdata=(void*)0xDEAD}