![Sino Wealth SH79F3283 Скачать руководство пользователя страница 122](http://html1.mh-extra.com/html/sino-wealth/sh79f3283/sh79f3283_manual_1283063122.webp)
SH79F3283
122
8.13.4 Register
Table 8.46
Power Control Register
87H
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PCON
SMOD
SSTAT
SSTAT1
-
GF1
GF0
PD
IDL
R/W
R/W
R/W
R/W
-
R/W
R/W
R/W
R/W
Reset Value
(POR/WDT/LVR/PIN)
0
0
0
-
0
0
0
0
Bit Number
Bit Mnemonic
Description
7
SMOD
Baud rate double bit
6
SSTAT
SCON[7:5] function selection bit
5
SSTAT1
SCON1[7:5] function selection bit
3-2
GF[1:0]
General purpose flags for software use
1
PD
Power-Down mode control bit
0: Cleared by hardware when an interrupt or reset occurs
1: Set by software to activate the Power-Down mode
0
IDL
Idle mode control bit
0: Cleared by hardware when an interrupt or reset occurs
1: Set by software to activate the Idle mode
Table 8.47
Suspend Mode Control Register
8EH
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
SUSLO
SUSLO.7
SUSLO.6
SUSLO.5
SUSLO.4
SUSLO.3
SUSLO.2
SUSLO.1
SUSLO.0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
(POR/WDT/LVR/PIN)
0
0
0
0
0
0
0
0
Bit Number
Bit Mnemonic
Description
7-0
SUSLO[7:0]
This register is used to control the CPU enter suspend mode (Idle or Power-Down).
Only consecutive instructions like below will make CPU enter suspend mode.
Otherwise the SUSLO, IDL or PD bit will be cleared by hardware in the next
machine cycle.
Example
IDLE_MODE:
MOV
SUSLO, #55H
ORL
PCON, #01H
NOP
NOP
NOP
POWERDOWN_MODE:
MOV
SUSLO, #55H
ORL
PCON, #02H
NOP
NOP
NOP