![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_63.png)
12-2
Programmer’s Manual
Personal Portable System Manager
Programmer’s Manual
Power Management
11-7
mode to Sleep mode. A value of zero disables the system from going into Sleep
mode.
11.5.4
Going Into Doze Mode
VOID
SetDozeMode
(VOID)
System goes directly to Doze mode. System will stay in Doze mode until a Wake-
up condition is met.
11.5.5
Going Into Sleep Mode
VOID
SetSleepMode
(VOID)
System goes directly to Sleep mode. System will stay in Sleep mode until a Wake-
up condition is met.
11.6
I/O Ports Control
For those I/O ports that are used by the hardware system, special handling will be
required as PPSM does not have any knowledge of usage of these I/O ports. The
system integrator will need to supply specific device routines that PPSM can call
to disable and enable these I/O ports during Normal, Doze and Sleep mode tran-
sitions.
11.6.1
Disabling I/O Port Before Doze Mode
VOID
PortDozeDisable
(VOID)
Just before PPSM goes into Doze mode, it will call this routine to disable any user
defined I/O ports that are not handled internally by PPSM. User must add in the
code to disable the I/O ports in this routine.
11.6.2
Enabling I/O Port After Doze Mode
VOID
PortDozeEnable
(VOID)
When PPSM wakes up from Doze mode, it will call this routine to re-enable any
user defined I/O ports that are not handled internally by PPSM. User must add in
their own I/O initialization code in this routine.
11.6.3
Disabling I/O Port Before Sleep Mode
VOID
PortSleepDisable
(VOID)
Just before PPSM goes into Sleep mode, it will call this routine to disable any user
defined I/O ports that are not handled internally by PPSM. User must add in the
code to disable the I/O ports in this routine.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.