12#ifndef SYSTEM_EVENT_QUEUE_H
13#define SYSTEM_EVENT_QUEUE_H
29#define EVENT_QUEUE_CAPACITY 16
event_queue_data_types_t
Typed payload selector for configuration-oriented events.
event_type_t
Event type identifiers.
bool event_queue_is_empty(void)
Check whether the queue is empty.
bool event_queue_push(const event_t *event_entry)
Enqueue an event.
bool event_queue_is_full(void)
Check whether the queue is full.
bool event_get_payload_ptr(const event_t *event, size_t required_size, const void **out)
Resolve payload pointer and validate minimum payload size.
uint32_t event_queue_get_push_drop_count(void)
Get cumulative number of dropped push attempts.
void event_queue_init(void)
Initialize the event queue storage.
bool event_queue_pop(event_t *event_out)
Dequeue an event.
size_t event_queue_get_count(void)
Get current number of queued events.
size_t event_queue_get_high_water_mark(void)
Get peak queue fill count observed since init.
Combined TX and RX polarity configuration.
Generic event payload wrapper for network/V.24 config operations.
V24_POLARITIES_T polarities
event_queue_data_types_t id
V24_BAUDRATE_T
Supported synchronous V.24 baudrates.