pm_buffer_t

nRF5 SDK v10.0.0

nRF51 SDK v10.0.0

Data Fields

uint8_t * p_memory
uint8_t * p_mutex
uint32_t n_blocks
uint32_t block_size

Field Documentation

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.


Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone .