Data Fields | |
uint8_t * | p_memory |
uint8_t * | p_mutex |
uint32_t | n_blocks |
uint32_t | block_size |
uint32_t pm_buffer_t::block_size |
The size of each block in the buffer.
uint32_t pm_buffer_t::n_blocks |
The number of allocatable blocks in the buffer.
uint8_t* pm_buffer_t::p_memory |
The storage for all buffer entries. The size of the buffer must be n_blocks*block_size.
uint8_t* pm_buffer_t::p_mutex |
A mutex group with one mutex for each buffer entry.