
AT32F413
Series Reference Manual
2022.06.27
Page 261
Rev 2.00
Figure 17-3
RTC overflow waveform example with DIV=0004
RTC_CLK
RTC_Second
RTC_CNT
RTC_Overflow
OVF
Can be cleared by software
FFFFFFFC
FFFFFFFD
FFFFFFFE
FFFFFFFF
00000000
00000001
17.5 RTC registers
These peripheral registers must be accessed by word (32 bits).
RTC registers are 16-bit addressable registers.
Table 17-1
RTC register map and reset values
Register
Offset
Reset value
RTC_CTRLH
0x00
0x0000
RTC_CTRLL
0x04
0x0020
RTC_DIVH
0x08
0x0000
RTC_DIVL
0x0C
0x8000
RTC_DIVCNTH
0x10
0x0000
RTC_DIVCNTL
0x14
0x8000
RTC_CNTH
0x18
0x0000
RTC_CNTL
0x1C
0x0000
RTC_TAH
0x20
0xFFFF
RTC_TAL
0x24
0xFFFF
17.5.1 RTC control register high (RTC_CTRLH)
Bit
Register
Reset value
Type
Description
Bit 15: 3
Reserved
0x0000
resd
Kept at its default value.
Bit 2
OVFIEN
0x0
rw
Overflow interrupt enable
This bit is used to enable overflow interrupt.
0: Disabled
1: Enabled
Bit 1
TAIEN
0x0
rw
Time alarm interrupt enable
This bit is used to enable alarm interrupt.
0: Disabled
1: Enabled
Bit 0
TSIEN
0x0
rw
Time second interrupt enable
This bit is used to enable second interrupt.
0: Disabled
1: Enabled
。
Note: This register is reset after system reset. Refer to