NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
os_mempool Struct Reference

#include <os_mempool.h>

Public Attributes

uint32_t mp_block_size
 
uint16_t mp_num_blocks
 
uint16_t mp_num_free
 
uint16_t mp_min_free
 
uint8_t mp_flags
 
uint32_t mp_membuf_addr
 
const char * name
 

Detailed Description

Memory pool

Member Data Documentation

◆ mp_block_size

uint32_t os_mempool::mp_block_size

Size of the memory blocks, in bytes.

◆ mp_flags

uint8_t os_mempool::mp_flags

Bitmap of OS_MEMPOOL_F_[...] values.

◆ mp_membuf_addr

uint32_t os_mempool::mp_membuf_addr

Address of memory buffer used by pool

◆ mp_min_free

uint16_t os_mempool::mp_min_free

The lowest number of free blocks seen

◆ mp_num_blocks

uint16_t os_mempool::mp_num_blocks

The number of memory blocks.

◆ mp_num_free

uint16_t os_mempool::mp_num_free

The number of free blocks left

◆ name

const char* os_mempool::name

Name for memory block