AT32F425
Series Reference Manual
2022.03.30
Page 283
Ver 2.01
Figure 16-1 WDT block diagram
Prescaler register
WDT_DIV
Status register
WDT_STS
Reload register
WDT_RLD
8-bit
prescaler
12-bit reload
value
12-bit
downcounter
CMD register
WDT_CMD
LICK
SYNC
1.2 V power domain
V
DD
power domain
SYNC
PCLK
Windows register
WDT_WIN
SYNC
12-bit windows
value
Compare
CNT=0
reload at CNT>WIN
reset
reset
Table 16-1 WDT timeout period (LICK=40kHz)
Prescaler divider
DIV[2: 0] bits
Min.timeout (ms)
RLD[11: 0] = 0x000
Max. timeout (ms)
RLD[11: 0] = 0xFFF
/4
0
0.1
409.6
/8
1
0.2
819.2
/16
2
0.4
1638.4
/32
3
0.8
3276.8
/64
4
1.6
6553.6
/128
5
3.2
13107.2
/256
(6 or 7)
6.4
26214.4
16.4
Debug mode
When the microcontroller enters debug mode (Cortex
TM
-M4 core halted), the WDT counter stops
counting by setting the WDT_PAUSE in the DEBUG module. Refer to Chapter 23.2 for more information.
16.5
WDT registers
These peripheral registers must be accessed by words (32 bits).
Table 16-2 WDT register and reset value
Register name
Offset
Reset value
WDT_CMD
0x00
0x0000 0000
WDT_DIV
0x04
0x0000 0000
WDT_RLD
0x08
0x0000 0FFF
WDT_STS
0x0C
0x0000 0000
WDT_WIN
0x10
0x0000 0FFF