English
Language : 

PXS20RM Datasheet, PDF (1089/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Mode Entry Module (MC_ME)
Once a valid mode transition request is detected, the target mode configuration information is loaded from
the corresponding ME_<mode>_MC register. The mode transition request may require a number of cycles
depending on the programmed configuration, and software should check the S_CURRENT_MODE bit
field and the S_MTRANS bit of the global status register to verify when the mode has been correctly
entered and the transition process has completed. For a description of valid mode requests, please refer to
Section 32.4.5, Mode Transition Interrupts.
Any modification of the mode configuration register of the currently selected mode will not be taken into
account immediately but on the next request to enter this mode. This means that transition requests such
as RUN0…3 Æ RUN0…3, DRUN Æ DRUN, SAFE Æ SAFE, and TEST Æ TEST are considered valid
mode transition requests. As soon as the mode request is accepted as valid, the S_MTRANS bit is set till
the status in the register matches the configuration programmed in the respective ME_<mode>_MC
register.
NOTE
It is recommended that software poll the S_MTRANS bit in the register
after requesting a transition to HALT0 or STOP0 modes.
SYSTEM MODES recoverable
hardware failure
USER MODES
software
request
SAFE
RUN0
RUN1
HALT0
RESET
DRUN
non-recoverable
failure
TEST
RUN2
RUN3
STOP0
Figure 32-25. MC_ME Mode Diagram
Freescale Semiconductor
PXS20 Microcontroller Reference Manual, Rev. 1
32-33