W681308
XXXX PRODUCT DESCRIPTION
8.2.3
Special Function Registers (SFR)
Address
Byte 0
EIP
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
F8
F0
E8
E0
D8
D0
C8
C0
B8
B0
A8
A0
98
90
88
80
B
EIE
ACC
WDCON
PSW
T2CON
T2MOD
SADEN
RCAP2L
RCAP2H
TL2
TH2
PMR
STATUS
TA
IP
P3
IE
SADDR
XRAMAH
SBUF
P2
SCON
P1
TCON
P0
TMOD
SP
TL0
TL1
TH0
TH1
CKCON
DPS
DPL
DPH
DPL1
DPH1
PCON
Table 2 W681308 MCU SFR location
8.3
Power Management
The W681308 has IDLE mode operation features that manage and save power consumption of the device.
Enable IDLE mode
The user can set the device into idle mode by writing 1 to the PCON bit of SFR. The instruction that sets the idle bit is the last
instruction that will be executed before the device goes into Idle Mode. In the Idle mode, the clock to the MCU is halted but
not to the Interrupt, Timer, Watchdog timer, and Serial ports blocks. This forces the MCU state to be frozen; the Program
counter, the Stack Pointer, the Program Status Word, the Accumulator and the other registers hold their contents. The ALE
and PSEN pins are held high during the idle state. The port pins hold the logical states they had at the time Idle was
activated.
The Idle mode can be terminated in two ways:
Activation of any enabled interrupt
Since the interrupt controller is still active, the activation of any enabled interrupt can wake up the processor. This will
automatically clear the Idle bit, terminate the Idle mode, and the Interrupt Service Routine (ISR) will be executed. After the
ISR, execution of the program will continue from the instruction which put the device into idle mode.
22
Rev1.2