TI BLE-Stack for Bluetooth 4.2 API Documentation
3.01.00.07
|
his module defines the OSAL memory control functions.
Go to the source code of this file.
Macros | |
#define | OSALMEM_METRICS FALSE |
Set to TRUE to gather OSAL heap metrics. | |
Functions | |
void * | osal_mem_alloc (uint16 size) |
Implement the OSAL dynamic memory allocation functionality. More... | |
void | osal_mem_free (void *ptr) |
Implement the OSAL dynamic memory de-allocation functionality. More... | |
void* osal_mem_alloc | ( | uint16 | size | ) |
Implement the OSAL dynamic memory allocation functionality.
size | the number of bytes to allocate from the HEAP. |
void osal_mem_free | ( | void * | ptr | ) |
Implement the OSAL dynamic memory de-allocation functionality.
ptr | A valid pointer (i.e. a pointer returned by osal_mem_alloc()) to the memory to free. |