SYS/BIOS  7.00
Data Fields
HeapMin_Params Struct Reference

#include <ti/sysbios/heaps/HeapMin.h>

Data Fields

char * buf
 Buffer that will be managed by the heap instance. More...
 
size_t size
 Size (in MADUs) of the heap. More...
 

Field Documentation

§ buf

char* HeapMin_Params::buf

Buffer that will be managed by the heap instance.

When creating a heap at runtime, the user must supply the memory that the heap will manage. It is up to the caller to align the buffer as needed.

This parameter is ignored when creating heaps during configuration.

§ size

size_t HeapMin_Params::size

Size (in MADUs) of the heap.

This parameter specifies the size of the heap managed by a HeapMin instance. In the static case, a buffer of length size will be created. In the dynamic case, size specifies the size of the buffer (i.e. parameter buf) that the caller provides.

This is a required parameter. It must be set by the caller. Failure to do so will result in an Assert (if BIOS.assertsEnabled config parameter is true).


The documentation for this struct was generated from the following file:
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale