FreeRTOS C-Addons
1.1.0
C-Addon functionality to FreeRTOS
|
Data Fields | |
SemaphoreHandle_t | Lock |
Stack_t | Stack |
int | ItemSize |
int | Alignment |
unsigned char | Buffer [1] |
The actual Memory Pool data structure.
This is a variable length data structure.
Definition at line 52 of file mem_pool.c.
int Alignment |
The overall alignment of an item.
Definition at line 72 of file mem_pool.c.
unsigned char Buffer[1] |
The begining of the actual memory pool itself.
Definition at line 77 of file mem_pool.c.
int ItemSize |
Save the item size for additions.
Definition at line 67 of file mem_pool.c.
SemaphoreHandle_t Lock |
We need a lock to make this thread safe.
Definition at line 57 of file mem_pool.c.
Stack_t Stack |
Memory blocks are stored on a stack.
Definition at line 62 of file mem_pool.c.