Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
240
9
MSK3
R/W
0
Alarm day mask
0: Alarm set if the day matches
1: Days don’t care in alarm comparison
8:0
DAY[8:0]
R/W
0
Day in binary format
11.3.8
RTC Write Protection Register (RTC_WPR)
Name:
RTC write protection register
Size:
32 bits
Address offset:
0x1C
Reset value:
0x0000 0000
31
30
29
…
10
9
8
7
6
5
4
3
2
1
0
RSVD
KEY[7:0]
R/W
Bit
Name
Access
Reset
Description
31:8
RSVD
N/A
-
Reserved
7:0
KEY[7:0]
R/W
0
Write protection key
This byte is written by software.
Refer to RTC register write protection for a description of how to unlock RTC register
write protection.
11.3.9
RTC 32K Auto-calibration Register (RTC_CLKACALR)
Name:
RTC 32K auto-calibration register
Size:
32 bits
Address offset:
0x20
Reset value:
0x0000 00FC
This register is write protected, and must be written in initialization mode only. The ACAL_CNT[5:0] counter is cleared after exiting the
initialization mode and waiting until RSF=1 in RTC_ISR register.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
ACAL_CNT[5:0]
R
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RSVD
ACAL_THES[5:0]
ACAL_SEL[1:0]
R/W
R/W
Bit
Name
Access
Reset Description
31:22
RSVD
N/A
-
Reserved
21:16
ACAL_CNT[5:0]
R
0
Auto Calibration Counter
The counter update depends on ACAL_SEL[1:0].
ACAL_SEL[1:0] = 00: Counter is disabled
ACAL_SEL[1:0] = 01: Counter updates once per minute
ACAL_SEL[1:0] = 10: Counter updates once per hour
ACAL_SEL[1:0] = 11: Counter updates once per day
15:8
RSVD
N/A
-
Reserved
7:2
ACAL_THRES[5:0]
R/W
0x3f
Auto Calibration Threshold
Note
: The unit depends on ACAL_SEL[1:0].
1:0
ACAL_SEL[1:0]
R/W
0
32K Auto Calibration select
00: 32K auto calibration is disabled and the auto calibration counter is cleared.
01: 32K auto calibration once every ACAL_THRES[5:0] minutes
10: 32K auto calibration once every ACAL_THRES[5:0] hours
11: 32K auto calibration once every ACAL_THRES[5:0] days
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03