ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ble_npl_eventq Struct Reference

Event queue mapped onto TX_QUEUE. More...

#include <nimble_npl_os.h>

Data Fields

TX_QUEUE q
 Backing ThreadX queue.
uint8_t storage [64]
 Backing storage (16 entries * 4 bytes).

Detailed Description

Event queue mapped onto TX_QUEUE.

The queue carries pointers (one struct ble_npl_event * per slot). ThreadX wants the message size in 32-bit words: we pass 1 word and the queue depth comes from k_ble_npl_eventq_depth.

Invariant
storage is sized for the configured queue depth.
Example:
struct ble_npl_eventq evq;
void ble_npl_eventq_init(struct ble_npl_eventq *evq)
Event queue mapped onto TX_QUEUE.
See also
ble_npl_event

Definition at line 124 of file nimble_npl_os.h.

Field Documentation

◆ q

TX_QUEUE ble_npl_eventq::q

Backing ThreadX queue.

Definition at line 125 of file nimble_npl_os.h.

Referenced by ble_npl_eventq_get(), ble_npl_eventq_init(), ble_npl_eventq_is_empty(), and ble_npl_eventq_put().

◆ storage

uint8_t ble_npl_eventq::storage[64]

Backing storage (16 entries * 4 bytes).

Definition at line 126 of file nimble_npl_os.h.

Referenced by ble_npl_eventq_init().


The documentation for this struct was generated from the following file: