411
/
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
1: Am/PM format
5
BYPS
Bypass values from the shadow registers
0: Calendar values are copied from the shadow registers, which are refreshed every two
RTCCLK cycles.
1: Calendar values are copied directly from the calendar counters.
Note: If the frequency of the APB1 clock falls below seven times the frequency of
RTCCLK, RTC_CTRL.BYPS bit must be set to ‘1’
4
Reserved
Reserved, the reset value must be maintained
3
TSPOL
Time-stamp event active edge
0: Input rising edge creates a timestamp event
1: Input falling edge creates a timestamp event
TSE need to be reset when TSPOL is changed to avoid unwanted RTC_INITSTS.TISF
setting.
2:0
WKUPSEL[2:0]
Wakeup clock selection
000: RTC clock is divided by 16
001: RTC clock is divided by 8
010: RTC clock is divided by 4
011: RTC clock is divided by 2
10x: ck_spre (usually 1Hz) clock is selected
14.3.5
RTC Initial Status Register (RTC_INITSTS)
Address offset: 0x0C
Reset value: 0x0000 0007
Bit field
Name
Description
31:17
Reserved
Reserved, the reset value must be maintained
16
RECPF
Recalibration pending flag
The RECPF status flag is automatically set to ‘1’ when software writes to the
RTC_CALIB register, indicating that the RTC_CALIB register is blocked. After the
new calibration settings are processed, this bit returns to ‘0’.
15:13
Reserved
Reserved, the reset value must be maintained
12
TISOVF
The time-stamp overflow flag
This flag is set to ‘1’by hardware when a time-stamp event happens when TISF bit is
set.
This flag can be cleared by software writing 0. It is advised to check and clear