![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 285](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630285.webp)
www.geehy.com Page 284
Field
Name
R/W
Description
2
WUTWFLG
R
Wakeup Timer Write Occur Flag
When WUTEN=0 and the value of wake-up timer can be changed,
this bit can be set by hardware.
0: It is not allowed to update the wake-up timer configuration
1: It is allowed to update the wake-up timer configuration
3
SOPFLG
R
Shift Operation Pending Occur Flag
0: Not occur
1: Occurred
When a shift operation is generated by writing to RTC_SHIFT
register, this bit will be set to 1 by hardware immediately. After
corresponding shift operation is performed, this bit will be cleared
by software. It is invalid to write to SOPFLG.
4
INITSFLG
R
Initialization State Occur Flag
When the "year" field in the date is not "0", this bit will be set by
hardware.
0: Not occur
1: Occurred
5
RSFLG
RC_W0
Registers Synchronization Occur Flag
When the content in the date register is copied to the shadow
registers (RTC_SUBSEC, RTC_TIME and RTC_DATE), this bit is
set to 1 by hardware; when shifting operation is pending
(SOPFLG=1) or is in the mode that the shadow register is ignored
(RCMCFG=1), this bit is cleared by hardware in initialized mode; or
this bit can be cleared by software.
This bit is cleared by hardware/software in initialization mode.
0: Not synchronized
1: Synchronized
6
RINITFLG
R
Register Initialization Occur Flag
This bit is set to "1", RTC is in initialization state, and the time, date
and prescaler registers can be updated.
0: Cannot be initialized
1: Initialized
7
INITEN
R/W
Initialization Mode Enable
0: Free run mode
1: Initialization mode; it is used to program RTC_TIME,
RTC_DATE and RTC_PSC. The counter stops counting, and after
INITEN is reset, the counter will start counting from a new value.
8
ALRAFLG
RC_W0
Alarm A Match Occur Flag
When RTC_TIME and RTC_DATE match the alarm A register
RTC_ALRMA, this flag is set by hardware.
This flag can be cleared by writing 0 by software.
9
ALRBFLG
RC_W0
Alarm B Match Occur Flag
When RTC_TIME and RTC_DATE match the alarm B register
RTC_ALRMB, this flag is set by hardware.
This flag can be cleared by writing 0 by software.