AT32F421 Series Reference Manual
2022.11.11 Page 302 Rev 2.02
0: No hour mask
1: Alarm clock doesn’t care about hours
AM/PM
0: AM
1: PM
Note: This bit is applicable for 12-hour format only. It is 0
for 24-hour format.
Minute mask
0: No minute mask
1: Alarm clock doesn’t care about minutes
Second mask
0: No second mask
1: Alarm clock doesn’t care about seconds
17.4.7 ERTC write protection register (ERTC_WP)
Kept at its default value
Command register
All ERTC register write protection is unlocked by writing
0xCA and 0x53. Writing any other value will re-activate
write protection.
17.4.8 ERTC subsecond register (ERTC_SBS)
Kept at its default value
Sub-second value
Subsecond is the value in the DIVB counter. Clock
frequency = ERTC_CLK/(DIVA+1)
17.4.9 ERTC time adjustment register (ERTC_TADJ)
Add 1 second
0: No effect
1: Add one second
This bit can be written only when TADJF=0. It is intended
to be used with DECSBS in order to fine-tune the time.
Kept at its default value
DECSBS[14: 0]: Decrease sub-second value
Delay (ADD1S=0): Delay = DECSBS/(DIVB+1)
Advance (ADD1S=1) : Advance =1-(DECSBS/(DIVB+1))
17.4.10 ERTC time stamp time register (ERTC_TSTM)
Kept at its default value
AM/PM
0: AM
1: PM
Note: This bit is applicable for 12-hour format only. It is 0
for 24-hour format.