Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
238
11.3.4
RTC Prescaler Register (RTC_PRER)
Name:
RTC prescaler register
Size:
32 bits
Address offset:
0x0C
Reset value:
0x007F 00FF
This register is write protected, and must be written in initialization mode only.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
PREDIV_A
R/W
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RSVD
PREDIV_S
R/W
Bit
Name
Access
Reset
Description
31:25
RSVD
N/A
-
Reserved
24:16
PREDIV_A
R/W
0x7F
Asynchronous prescaler factor
This is the asynchronous division factor: f
clk_apre
= RTCCLK/(P1)
15:9
RSVD
N/A
-
Reserved
8:0
PREDIV_S
R/W
0xFF
Synchronous prescaler factor
This is the synchronous division factor: f
clk_spre
= f
clk_apre
/(P1)
11.3.5
RTC Calibration Register (RTC_CALIBR)
Name:
RTC calibration register
Size:
32 bits
Address offset:
0x10
Reset value:
0x0000 0000
This register is write protected, and can be dynamically configured when RTC is running.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
CALP[2:0]
R/W
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DCE
DCS
RSVD
DC
R/W
R/W
R/W
Bit
Name
Access
Reset
Description
31:19
RSVD
N/A
-
Reserved
18:16
CALP[2:0]
R/W
0
Calibration period
Compensate
(−1)
𝐷𝐶𝑆
∗DC
P1
seconds every (CALP+1) minutes
15
DCE
R/W
0
Digital calibration enable
0: Digital calibration is disabled
1: Digital calibration is enabled
14
DCS
R/W
0
Digital calibration sign
0: Positive calibration: time update frequency is increased
1: Negative calibration: time update frequency is decreased
13:7
RSVD
N/A
-
Reserved
6:0
DC
R/W
0
Digital calibration
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03