Mbed OS Reference
Loading...
Searching...
No Matches
buf_pool_desc_t Struct Reference

Contain description of the memory pool used by the Cordio stack. More...

#include <CordioHCIDriver.h>

Public Member Functions

template<size_t BufferSize, size_t PoolCount>
 buf_pool_desc_t (uint8_t(&buffer)[BufferSize], const wsfBufPoolDesc_t(&pool_desc)[PoolCount])
 Create a new memory pool description. More...
 

Data Fields

size_t buffer_size
 Pointer to the buffer memory. More...
 
const wsfBufPoolDesc_t * pool_description
 Size of the buffer. More...
 
size_t pool_count
 Pointer to the first element describing the pool. More...
 

Detailed Description

Contain description of the memory pool used by the Cordio stack.

Definition at line 36 of file CordioHCIDriver.h.

Constructor & Destructor Documentation

◆ buf_pool_desc_t()

buf_pool_desc_t ( uint8_t(&)  buffer[BufferSize],
const wsfBufPoolDesc_t(&)  pool_desc[PoolCount] 
)

Create a new memory pool description.

Parameters
bufferthe Buffer used by the memory pool.
pool_descHow the memory is split

Definition at line 43 of file CordioHCIDriver.h.

Field Documentation

◆ buffer_size

size_t buffer_size

Pointer to the buffer memory.

Definition at line 52 of file CordioHCIDriver.h.

◆ pool_description

const wsfBufPoolDesc_t* pool_description

Size of the buffer.

Definition at line 53 of file CordioHCIDriver.h.

◆ pool_count

size_t pool_count

Pointer to the first element describing the pool.

Definition at line 54 of file CordioHCIDriver.h.