![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_142.png)
24-6
Memory Management Tools
Programmer’s Manual
Inquire run-time memory usage of the system. This routine returns to the caller
the total number of bytes of memory have been allocated to the whole system
through Lmalloc(), Lcalloc() or Lrealloc().
Parameter
Return Value
Note:
Value returned by TotalMemUsed() does not equal to the actual
size of all memory resources used by the system. Global
variables and strings memory usage are not counted by this
function. For SDS user, the initial memory usage can be found
by the symbol lister, SYM.EXE, provided in SDS command
directory.
Name
Description
None
Name
Description
N/A
The total number of bytes of memory
allocated to the whole system
Personal Portable System Manager
Programmer’s Manual
25-1
25.1
SetDozeMode
Syntax
void
SetDozeMode
(void)
Description
Sets system to go into Doze mode immediately.
Parameter
Return Value
25.2
SetDozePeriod
Syntax
STATUS
SetDozePeriod
Description
Sets the countdown period to switch the system from Normal mode to Doze
mode. A value of zero forces the system to go to Doze mode whenever there
is no message to be handled and no task swapping is needed. If
equals PPSM_NO_DOZE, no automatically going to doze will be executed and
so no automatically going to sleep mode even SetSleepPeriod() is called.
Name
Description
None
Name
Description
None
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.