Real-time Clock (RTC)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
239
11.3.6
RTC Alarm 1 Register Low (RTC_ALMR1L)
Name:
RTC alarm 1 register low
Size:
32 bits
Address offset:
0x14
Reset value:
0x0000 0000
This register is write protected, and can be written only when ALMWF is set to 1 in RTC_ISR register, or in initialization mode.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
MSK2
PM
HT[1:0]
HU[3:0]
R/W
R/W
R/W
R/W
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
MSK1
MNT[2:0]
MNU[3:0]
MSK0
ST[2:0]
SU[3:0]
R/W
R/W
R/W
R/W
R/W
R/W
Bit
Name
Access
Reset
Description
31:24
RSVD
N/A
-
Reserved
23
MSK2
R/W
0
Alarm hour mask
0: Alarm set if the hour matches
1: Hours don’t care in alarm comparison
22
PM
R/W
0
AM/PM notation
0: AM or 24-hour format
1: PM
21:20
HT[1:0]
R/W
0
Hour tens in BCD format.
19:16
HU[3:0]
R/W
0
Hour units in BCD format.
15
MSK1
R/W
0
Alarm minute mask
0: Alarm set if the minute matches
1: Minutes don’t care in alarm comparison
14:12
MNT[2:0]
R/W
0
Minute tens in BCD format.
11:8
MNU[3:0]
R/W
0
Minute units in BCD format.
7
MSK0
R/W
0
Alarm second mask
0: Alarm set if the second matches
1: Seconds don’t care in alarm comparison
6:4
ST[2:0]
R/W
0
Second tens in BCD format.
3:0
SU[3:0]
R/W
0
Second units in BCD format.
11.3.7
RTC Alarm 1 Register High (RTC_ALMR1H)
Name:
RTC alarm 1 register high
Size:
32 bits
Address offset:
0x18
Reset value:
0x0000 0000
This register is write protected, and can be written only when ALMWF is set to 1 in RTC_ISR register, or in initialization mode.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RSVD
MSK3
DAY[8:0]
R/W
R/W
Bit
Name
Access
Reset
Description
31:10
RSVD
N/A
-
Reserved
Realtek confidential files
SZ99iot
2019-05-15 10:08:03