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

Module state of the memory and queue half – entirely static. More...

Collaboration diagram for ra8_esp_hosted_pool_state_t:

Data Fields

TX_BYTE_POOL transport
 Transport buffer pool.
TX_BYTE_POOL queue_pool
 Queue message-storage pool.
ra8_esp_hosted_queue_slot_t queues [k_ra8_esp_hosted_max_queues]
 Table.
bool ready
 True while both pools live.

Detailed Description

Module state of the memory and queue half – entirely static.

Holds the two byte pools, their backing arrays and the queue table. Nothing here is allocated; the arrays are reserved at link time.

Invariant
ready is true exactly while both pools are live.
Every queues[i].used row has a live ThreadX queue.
Example:
TEST_ASSERT_EQ(true, priv_ra8_esp_hosted_rtos_is_ready());
bool priv_ra8_esp_hosted_rtos_is_ready(void)
Report whether the RTOS substrate is currently initialised.
See also
priv_ra8_esp_hosted_rtos_pool_init
Since
0.1.0

Definition at line 157 of file ra8_esp_hosted_rtos_pool.c.

Field Documentation

◆ queue_pool

TX_BYTE_POOL ra8_esp_hosted_pool_state_t::queue_pool

Queue message-storage pool.

Definition at line 159 of file ra8_esp_hosted_rtos_pool.c.

◆ queues

ra8_esp_hosted_queue_slot_t ra8_esp_hosted_pool_state_t::queues[k_ra8_esp_hosted_max_queues]

Table.

Definition at line 161 of file ra8_esp_hosted_rtos_pool.c.

◆ ready

bool ra8_esp_hosted_pool_state_t::ready

True while both pools live.

Definition at line 162 of file ra8_esp_hosted_rtos_pool.c.

◆ transport

TX_BYTE_POOL ra8_esp_hosted_pool_state_t::transport

Transport buffer pool.

Definition at line 158 of file ra8_esp_hosted_rtos_pool.c.


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