6RTC
22
Copyright © 2018, www.
bluetrum.com. All Rights Reserved
22
Bit
Name
Mode
Default
Description
4
WKPPUEN
WR
1
WK pin pull up enable bit
0: disable
1: enable
3:2
WKPPUS
WR
0x1
WK pin pull up select bit
00: 80K
01: 90K
10: 100K
11: 400K
1
WKPPD
WR
0
WK pin pull down 10K enable bit
0: disable
1: enable
0
WKPIE
WR
1
WK pin input enable bit
0: disable
1: enable
Register 6-8 RTCCON2: RTC control Register 2
Bit
Name
Mode
Default
Description
7
32KSEL
WR
0
32K osc select bit
0: 32.768K
1: 32K
6
SELVDDPU
WR
1
SEL VDD pullup enable
0: disable
1: enable
5:4
RSV
WR
0x0
R
eserve, can’t be changed default value
3:2
RSV
WR
0x2
R
eserve, can’t be changed default value
1:0
RSV
WR
0x2
R
eserve, can’t be changed default value
Register 6-9 RTCCON3: RTC control Register 3
Bit
Name
Mode
Default
Description
7
RTC1S_WKEN
WR
0
RTC one second wakeup enable bit
0: disable
1: enable
6
ALM_WKEN
WR
0
RTC alarm wakeup enable bit
0: disable
1: enable
5
VSUB_WKEN
WR
0
VUSB wake up enable bit
0: disable
1: enable
4
WKP_WKEN
WR
0
WK pin wake up enable bit
0: disable
1: enable
3
-
-
-
Unused
2
VCOREEN
WR
1
VDDCORE enable bit
0: disable
1: enable
1
VIOEN
WR
1
VDDIO enable bit
0: disable
1: enable
0
BUCKEN
WR
1
BUCK enable bit
0: disable
1: enable
Register 6-10 RTCCON5: RTC control Register 5
Bit
Name
Mode
Default
Description
7
-
-
-
Unused
6
RSV
WR
0
R
eserve, can’t be changed default value
5:4
RSV
WR
0x0
R
eserve, can’t be changed default value
3:2
RSV
WR
0x0
R
eserve, can’t be changed default value
1
BUCKLPM
WR
0
BUCK low power mode enable