ML51/ML54/ML56
Sep. 01, 2020
Page
123
of 719
Rev 2.00
ML
51
/ML
54
/ML
5
6 S
E
RI
E
S
TECHNI
CA
L
RE
F
E
R
E
NC
E
M
A
NU
A
L
ML51/M
L54
/M
L56
Series
Tec
hnical Reference
Manual
PCON
– Power Control
Register
SFR Address
Reset Value
PCON
87H, All pages
POR: 0001_0000b
Others: 000U _0000b
7
6
5
4
3
2
1
0
SMOD
SMOD0
LPR
POF
GF1
GF0
PD
IDL
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit
Name
Description
[7]
SMOD
Serial Port 0 Double Baud Rate Enable
Setting this bit doubles the serial port baud rate when UART0 is in Mode 2 or when Timer 1
overflow is used as the baud rate source of UART0 Mode 1 or 3. See Table 6.9-1 Serial Port 0
Mode / baud rate Description for details.
[6]
SMOD0
Serial Port 0 Framing Error Flag Access Enable
0 = SCON.7 accesses to SM0 bit.
1 = SCON.7 accesses to FE bit.
[5]
LPR
Low Power Run Mode
0 = disable
1 = enable
Note:
If PD = 1 and LPR = 1 at the same time, LPR is invalid, CPU will enter Power-down
mode.
[4]
POF
Power-on Reset Flag
This bit will be set as 1 after a power-on reset. It indicates a cold reset, a power-on reset
complete. This bit remains its value after any other resets. This flag is recommended to be
cleared via software.
[3]
GF1
General Purpose Flag 1
The general purpose flag that can be set or cleared by user via software.
[2]
GF0
General Purpose Flag 0
The general purpose flag that can be set or cleared by user via software.
[1]
PD
Power-Down Mode
Setting this bit puts CPU into Power-down mode. Under this mode, both CPU and peripheral
clocks stop and Program Counter (PC) suspends. It provides the lowest power consumption.
After CPU is woken up from Power-down, this bit will be automatically cleared via hardware and
the program continue executing the interrupt service routine (ISR) of the very interrupt source
that woke the system up before. After return from the ISR, the device continues execution at the
instruction, which follows the instruction that put the system into Power-down mode.
Note that If IDL bit and PD bit are set simultaneously, CPU will enter Power-down mode. Then it
does not go to Idle mode after exiting Power-down.