Developer World
Spresense Arduino Library v3.2.0-77d75a4
MemoryUtilClass Class Reference

MemoryManager Library Class Definitions. More...

#include <MemoryUtil.h>

Public Member Functions

int begin ()
 Initialize MemoryManager library. More...
 
int setLayout (uint8_t sec_no, uint8_t layout_no)
 Generate static memory pool group. More...
 
int clearLayout ()
 Destroy the static memory pool.
 
int end ()
 Finalize MemoryManager library.
 
const PoolSectionAttr * getLayout (uint8_t sec_no, int layout_no)
 Get static memory pool information. More...
 

Detailed Description

MemoryManager Library Class Definitions.

Member Function Documentation

◆ begin()

int MemoryUtilClass::begin ( )

Initialize MemoryManager library.

Initialization of the entire MemoryManager. Run only once on a single CPU.

◆ setLayout()

int MemoryUtilClass::setLayout ( uint8_t  sec_no,
uint8_t  layout_no 
)

Generate static memory pool group.

Generate a memory pool group with the specified layout number.

◆ getLayout()

const PoolSectionAttr * MemoryUtilClass::getLayout ( uint8_t  sec_no,
int  layout_no 
)

Get static memory pool information.

Get memory pool group with the specified layout number.


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