414
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit field
Name
Description
31:16
Reserved
Reserved, the reset value must be maintained
15:0
WKUPT[15:0]
Wake up auto-reload value bits
The RTC_INITSTS.WTF flag is set every (WKUPT[15:0] + 1) ck_wut cycles when
the RTC_CTRL.WTEN=1. The wakeup timer becomes 17-bits When
RTC_CTRL.WKUPSEL[2]=1.
Note:
This register change (such as the second setting or later Settings) needs to be
changed in the wakeup interrupt, otherwise the changed settings will not take effect
immediately, but will take effect after the next wakeup;
In particular, when RTC_CTRL.WKUPSEL[2:0] is set to 010, the modified setting
does not take effect immediately, but will take effect after wake up in the next cycle.
14.3.8
RTC Alarm A Register (RTC_ALARMA)
Address offset: 0x1C
Reset value: 0x0000 0000
Bit field
Name
Description
31
MASK4
Alarm date mask
0: Date/day match
1: Date/day not match
30
WKDSEL
Week day selection
0: DTU[3:0] represents the date units
1: DTU[3:0] represents week day only. DTT[1:0] is not considered
29:28
DTT[1:0]
Describes the date tens value in BCD format
27:24
DTU[3:0]
Describes the date units value in BCD format
23
MASK3
Alarm hours mask
0: Hours match
1: Hours not match
22
APM
AM/PM notation