PT-20 Programming Guide
101
Purpose
:
Checking the used heap size.
Syntax
:
int UsedHeapSize(void);
Example call
:
usedsize = UsedHeapSize();
Includes
:
#include “SDK.h ”
Description
:
The UsedHeapSize function can get the used heap size.
Returns
:
The used heap size in units of Kbytes.
FreeHeapSize
Purpose
:
Checking the free heap size.
Syntax
:
int FreeHeapSize(void);
Example call
:
freesize = FreeHeapSize();
Includes
:
#include “SDK.h ”
Description
:
The UsedHeapSize function can get the used heap size.
Returns
:
The total heap size in units of Kbytes.