112
CHAPTER 6 WATCHDOG TIMER
6.1
Overview of Watchdog Timer
The watchdog timer is a 2-bit counter that uses, as its count clock source, the timebase
timer derived from the main clock. The watchdog timer resets the CPU if not cleared
within a fixed time after activation.
■
Watchdog timer function
The watchdog timer is a counter provided to guard against program runaway. Once activated, the counter
must be repeatedly cleared within a fixed time interval. If the program becomes trapped in an endless loop
or similar and does not clear the counter within the fixed time, the watchdog timer generates a four-
instruction cycle watchdog reset to the CPU.
The timebase timer output can be selected as the watchdog timer count clock.
Table 6.1-1 "Watchdog timer interval time" lists the watchdog timer interval times. If not cleared, the
watchdog timer generates a watchdog reset at a time between the minimum and maximum times listed.
Clear the counter within the minimum time given in the table.
See Section 6.4, "Operation of Watchdog Timer" for the details on the minimum and maximum time of the
watchdog timer interval times.
Reference:
The watchdog timer counter is cleared whenever the device goes to sleep or stop mode. Operation halts
until the device returns to normal operation (RUN state).
Table 6.1-1 Watchdog timer interval time
Count clock
Timebase timer output
(main clock oscillation frequency at 5 MHz)
Minimum time
Approx. 419.43 ms
(*1)
Maximum time
Approx. 838.86 ms
*1: Divide-by-two of the main clock oscillation frequency (F
CH
) x timebase timer count value (2
20
).
Содержание MB89950 Series
Страница 2: ......
Страница 3: ...FUJITSU LIMITED F2MC 8L 8 BIT MICROCONTROLLER MB89950 950A Series HARDWARE MANUAL ...
Страница 4: ......
Страница 10: ...vi ...
Страница 34: ...20 CHAPTER 2 HANDLING DEVICES ...
Страница 134: ...120 CHAPTER 6 WATCHDOG TIMER ...
Страница 236: ...222 CHAPTER 10 UART ...
Страница 276: ...262 CHAPTER 12 LCD CONTROLLER DRIVER ...
Страница 310: ...296 APPENDIX ...
Страница 311: ...297 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 316: ...302 INDEX ...
Страница 318: ......