Skip to main content

Module queue

Module queue 

Source
Expand description

§Queues

Queues are a synchronization primitive used to communicate between tasks. They allow tasks to send and receive data in a first-in-first-out (FIFO) manner.

§Implementation

Implement the QueueImplementation trait for an object, and use the register_queue_implementation to register that implementation for esp-radio.

See the QueueImplementation documentation for more information.

You may also choose to use the [CompatQueue] implementation provided by this crate.

§Usage

Users should use QueueHandle to interact with queues created by the driver implementation.

Note that the only expected user of this crate is esp-radio.

Structs§

QueueHandle
Queue handle.

Traits§

QueueImplementation
A queue primitive.

Type Aliases§

QueuePtr
Pointer to an opaque queue created by the driver implementation.