![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 143](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898143.webp)
Chapter 7 Mode Entry Module (MC_ME)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
143
7.3.2.3
Mode Enable Register (ME_ME)
This register allows a way to disable the device modes which are not required for a given device. RESET,
SAFE, DRUN, and RUN0 modes are always enabled.
Table 7-5. Mode Control Register (ME_MCTL) Field Descriptions
Field
Description
TARGET_M
ODE
T
arget device mode
— These bits provide the target device mode to be entered by software
programming. The mechanism to enter into any mode by software requires the write operation twice:
first time with key, and second time with inverted key. These bits are automatically updated by
hardware while entering SAFE on hardware request. Also, while exiting from the HALT0 and STOP0
modes on hardware exit events, these are updated with the appropriate RUN0…3 mode value.
0000 RESET
0001 TEST
0010 SAFE
0011 DRUN
0100 RUN0
0101 RUN1
0110 RUN2
0111 RUN3
1000 HALT0
1001 reserved
1010 STOP0
1011 reserved
1100 reserved
1101 reserved
1110 reserved
1111 reserved
KEY
Control key
— These bits enable write access to this register. Any write access to the register with
a value different from the keys is ignored. Read access will always return inverted key.
KEY:0101101011110000 (0x5AF0)
INVERTED KEY:1010010100001111 (0xA50F)
Address
Access: User read, Supervisor read/write, Test read/write
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R
0
0
0
0
0
ST
OP0
0
HA
LT
0
R
UN3
R
UN2
R
UN1
R
UN0
DR
UN
SA
FE
TEST
RESE
T
W
Reset
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
1
Figure 7-4. Mode Enable Register (ME_ME)