CMSIS-FreeRTOS: Heap Functions

| CMSIS-FreeRTOS Version 10.5.1 CMSIS-RTOS2 compliant FreeRTOS Implementation

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
Functions
Heap Functions
Event functions

Events generated by heap functions. More...

## Functions
void | EvrFreeRTOSHeap_Malloc (void *pvAddress, uint32_t uiSize)
| Event on heap memory block allocation (Op) More...
void | EvrFreeRTOSHeap_Free (void *pvAddress, uint32_t uiSize)
| Event on heap memory block free (Op) More...

## Description

## Function Documentation

void EvrFreeRTOSHeap_Free | ( | void * | pvAddress,
|  | uint32_t | uiSize
| ) |  |

Parameters

  [in] | pvAddress | pointer to memory block.
  [in] | uiSize | memory block size.

The event Heap_Free is generated when a memory block previously allocated by malloc is deallocated.

Value in the Event Recorder shows:

- pvAddress : pointer to deallocated memory block.
- uiSize : memory block size in bytes.

void EvrFreeRTOSHeap_Malloc | ( | void * | pvAddress,
|  | uint32_t | uiSize
| ) |  |

Parameters

  [in] | pvAddress | pointer to memory block.
  [in] | uiSize | memory block size.

The event Heap_Malloc is generated when a heap memory block is successfully allocated.

Value in the Event Recorder shows:

- pvAddress : pointer to allocated memory block.
- uiSize : memory block size in bytes.