www
.mcu.com.cn
115
/
239
Rev.
1.00
CMS80F731x Reference Manual
13.
Wake-up Timer (WUT)
13.1 Overview
Wake Up Timer is a clock source from the internal low-speed clock LSI, a 12-bit, up-count timer for sleep wake-ups that can
be used to time-wake systems in sleep mode. Configure the timed wake-up time before the system goes to sleep and enable
the timed wake-up function. When the chip enters sleep mode, THE WUT starts counting, and when the count value is equal to
the set value, the chip enters the sleep wake-up waiting state, the timer overflows state set to 1, and the software clears 0.
13.2 Related Registers
13.2.1
WUTCRH Register
0xBD
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
WUTCRH
WUTEN
--
WUTPS1
WUTPS0
WUTD11
WUTD10
WUTD9
WUTD8
R/W
R/W
R
R/W
R/W
R/W
R/W
R/W
R/W
Reset value
0
0
0
0
0
0
0
0
Bit7
WUTEN:
Timed wake-up function enable bit;
1=
The timed wake-up function is turned on;
0=
The timed wake-up function is disabled.
Bit6
Hours_OV: Timer overflow status bit;
1= Counter overflow;
0=
Software clear 0.
Bit5~Bit4
WUTPS<1:0>:
Timed wake-up counter clock divider;
00=
F/1;
01=
F/8;
10=
F/32;
11=
F/256.
Bit3~Bit0
WUTD<11:8>:
The timed wake-up time data is 4 bits higher.
13.2.2
WUTCRL Register
0xBC
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
WUTCRL
WUTD7
WUTD6
WUTD5
WUTD4
WUTD3
WUTD2
WUTD1
WUTD0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset value
0
0
0
0
0
0
0
0
Bit7~Bit0
WUTD<7:0>:
The timed wake-up time data is 8 bits lower.