GD32F10x User Manual
248
13.
Watchdog timer (WDGT)
The watchdog timer (WDGT) is a hardware timing circuitry that can be used to detect system
failures due to software malfunctions. There are two watchdog timer peripherals in the chip:
free watchdog timer (FWDGT) and window watchdog timer (WWDGT). They offer a
combination of a high safety level, flexibility of use and timing accuracy. Both watchdog timers
are offered to resolve malfunctions of software.
The watchdog timer will generate a reset when the internal counter reaches a given value.
The watchdog timer counter can be stopped while the processor is in the debug mode.
13.1.
Free watchdog timer (FWDGT)
13.1.1.
Overview
The free watchdog timer (FWDGT) has free clock source (IRC40K). Thereupon the FWDGT
can operate even if the main clock fails. It’s suitable for the situation that requires an
independent environment and lower timing accuracy.
The free watchdog timer causes a reset when the internal down counter reaches 0. The
register write protection function in free watchdog can be enabled to prevent it from changing
the configuration unexpectedly.
13.1.2.
Characteristics
Free-running 12-bit downcounter.
Reset when the downcounter reaches 0, if the watchdog is enabled.
Free clock source, FWDGT can operate even if the main clock fails such as in standby
and Deep-sleep modes.
Hardware free watchdog bit, automatically start the FWDGT at power on.
FWDGT debug mode, the FWDGT can stop or continue to work in debug mode.
13.1.3.
Function overview
The free watchdog consists of an 8-stage prescaler and a 12-bit down-counter. Refer to
Figure 13-1. Free watchdog block diagram
for the functional block of the free watchdog
module.
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...