Chapter 7 Mode Entry Module (MC_ME)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
163
7.4.2.6
HALT0 Mode
The device enters this mode on the following events:
•
from one of the RUN0…3 modes when the TARGET_MODE bit field of the ME_MCTL register
is written with “1000”.
As soon as any of the above events has occurred, a HALT0 mode transition request is generated. The mode
configuration information for this mode is provided by ME_HALT0_MC register. This mode is quite
configurable, and the ME_HALT0_MC register should be programmed according to the system needs.
The flashes can be put in low-power or power-down mode as needed. If there is a HALT0 mode request
while an interrupt request is active, the transition to HALT0 is aborted with the resultant mode being the
current mode, SAFE (on SAFE mode request), or DRUN (on reset), and an invalid mode interrupt is not
generated.
This mode is intended as a first-level low-power mode with
•
the core clock frozen
•
only a few peripherals running
and to be used by software
•
to wait until it is required to do something and then to react quickly (i.e., within a few system clock
cycles of an interrupt event)
7.4.2.7
STOP0 Mode
The device enters this mode on the following events:
•
from one of the RUN0…3 modes when the TARGET_MODE bit field of the ME_MCTL register
is written with “1010”.
As soon as any of the above events has occurred, a STOP0 mode transition request is generated. The mode
configuration information for this mode is provided by the ME_STOP0_MC register. This mode is fully
configurable, and the ME_STOP0_MC register should be programmed according to the system needs. The
following clock sources are switched off in this mode:
•
the system PLL
The flashes can be put in power-down mode as needed. If there is a STOP0 mode request while any
interrupt or wakeup event is active, the transition to STOP0 is aborted with the resultant mode being the
current mode, SAFE (on SAFE mode request), or DRUN (on reset), and an invalid mode interrupt is not
generated.
This can be used as an advanced low-power mode with the core clock frozen and almost all peripherals
stopped.
This mode is intended as an advanced low-power mode with
•
the core clock frozen
•
almost all peripherals stopped
and to be used by software