www.geehy.com Page 238
Field
Name
R/W
Description
13
TP1FLG
RC_W0
RTC_TP1FLG Detection Occur Flag
When a tamper event is detected in RTC_TP1FLG input, this flag is set
to 1 by hardware, it can be cleared by writing 0 by software.
14
TP2FLG
RC_W0
RTC_TP2FLG Detection Occur Flag
When a tamper event is detected in RTC_TP2FLG input, this flag is set
to 1 by hardware, it can be cleared by writing 0 by software.
15
Reserved
16
RCALPFLG
R
Recalibration Pending Occur Flag
When the software writes to RTC_CAL, this bit is set to 1
automatically, and the RTC_CAL register is locked.
This bit will return 0 when other new calibration setting is performed.
31:17
Reserved
RTC prescaler register (RTC_PSC)
The register can only be written in the initialization mode, and the initialization
must be completed by two independent write accesses, which is in write
protected state.
Offset address: 0x10
Power-on reset value: 0x007F 00FF
System reset: 0xXXXX XXXX
Field
Name
R/W
Description
14:0
SPSC
R/W
Synchronous Prescaler Coefficient
ck_spre frequency=ck_apre frequency/(SPSC+1)
15
Reserved
22:16
APSC
R/W
Asynchronous Prescaler Coefficient
ck_apre frequency=RTCCLK frequency/(APSC+1)
31:23
Reserved
RTC auto reload register (RTC_AUTORLD)
This register can be written only when WUTEFLG of RTC_STS is set to 1, and it
is in write protection state.
Offset address: 0x14
Power-on reset value: 0x0000 FFFF
System reset: 0xXXXX XXXX
Field
Name
R/W
Description
15:0
WUAUTORE R/W
Wakeup Auto-reload Value Setup
When the wake-up counter is waken up (WUTEN=1), this flag bit will be
set to 1 in each CLK_WUAUTORE cycle, and CLK_WUAUTORE cycle
can be set by WUCLKSEL bit of RTC_CTRL register.
When WUCLKSEL[2]=1, the wake-up counter will be set to 17 bits,
WUCLKSEL[1] is WUAUTORE[16], and is the most critical bit reloaded
to the timer.
After WUTEN is set, CLK_WUAUTORE cycle will appear to the first
assertion of WUTFLG
Disable WUCLKSEL[2:0]=011(RTCCLK/2) from WUAUTORE[15:0] to
0x0000.
31:16
Reserved