nRF5 SDK v14.2.0
Data Fields
nrf_balloc_t Struct Reference

Block memory allocator pool instance. The pool is made of elements of the same size. More...

#include <nrf_balloc.h>

Data Fields

nrf_balloc_cb_tp_cb
 Pointer to the instance control block.
 
uint8_t * p_stack_base
 Base of the allocation stack. More...
 
uint8_t * p_stack_limit
 Maximum possible value of the allocation stack pointer.
 
void * p_memory_begin
 Pointer to the start of the memory pool. More...
 
uint16_t block_size
 Size of the allocated block (including debug overhead). More...
 

Detailed Description

Block memory allocator pool instance. The pool is made of elements of the same size.

Field Documentation

uint16_t nrf_balloc_t::block_size

Size of the allocated block (including debug overhead).

Single block contains user element with header and tail words.

void* nrf_balloc_t::p_memory_begin

Pointer to the start of the memory pool.

Memory is used as a heap for blocks.

uint8_t* nrf_balloc_t::p_stack_base

Base of the allocation stack.

Stack is used to store handlers to not allocated elements.


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

Documentation feedback | Developer Zone | Subscribe | Updated