![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 286](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630286.webp)
www.geehy.com Page 285
Field
Name
R/W
Description
10
WUTFLG
RC_W0
Wakeup Timer Occur Flag
When the auto refresh counter counts to 0, this bit will be set to 1
by hardware; it is cleared by writing 0 by software.
Clear this flag 1.5 RTCCLK cycles before WUTFLG is set to 1
again.
11
TSFLG
RC_W0
Flag for occurrence of timestamp (Time Stamp Occur Flag)
When a timestamp event occurs, this flag is set to 1 by hardware; it
is cleared by writing 0 by software.
12
TSOVRFLG RC_W0
Time Stamp Overflow Occur Flag
When TSFLG=1 and a timestamp event is generated, this flag bit
is set to 1 by hardware; it is cleared by writing 0 by software.
It is recommended to clear this bit after TSFLG flag bit is cleared.
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, and 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, and 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 reegister (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
Reset value of backup domain: 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