A96G150 User's manual
10. Watchdog Timer (WDT)
97
10
Watchdog Timer (WDT)
Watchdog timer (WDT) rapidly detects the CPU malfunction such as endless looping caused by noise
or something like that, and resumes the CPU to the normal state. Watchdog timer signal for malfunction
detection can be used as either a CPU reset or an interrupt request. When the watchdog timer is not
being used for malfunction detection, it can be used as a timer to generate an interrupt at fixed intervals.
It is possible to use free running 8-
bit timer mode (WDTRSON=’0’) or watch dog timer mode
(WDTRSON=’1’) by setting WDTCR[6] bit. If WDTCR[5] is set to ‘1’, the WDT counter value is cleared
and counts up. After 1 machine cycle, this bit i
s cleared to ‘0’ automatical
ly.
The WDT consists of an 8-bit binary counter and a watchdog timer data register. When value of the 8-
bit binary counter is equal to the 8 bits of WDTCNT, an interrupt request flag is generated. This can be
used as a watchdog timer interrupt or a reset signal of CPU in accordance with a bit WDTRSON.
Input clock source of the WDT is BIT overflow. An interval between watchdog timer interrupts is decided
by BIT overflow period and WDTDR set value. The equation can be described as the followings:
WDT Interrupt Interval = (BIT Interrupt Interval) X (WDTDR Value+1)
10.1
WDT interrupt timing waveform
Figure 23. Watchdog Timer Interrupt Timing Waveform
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...