Operation Of Watchdog Timer (Watchdog Timer Interrupt) - Renesas M16C Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group

2.12.2 Operation of Watchdog Timer (Watchdog timer interrupt)

The following is an operation of the watchdog timer using watchdog timer interrupt. Figure 2.12.3 shows
the operation timing, and Figure 2.12.4 shows the set-up procedure.
Operation
www.DataSheet4U.com
Write signal to the
watchdog timer
start register
Figure 2.12.3. Operation timing of watchdog timer (watchdog timer interrupt)
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
(1) Writing to the watchdog timer start register initializes the watchdog timer to 7FFF
causes it to start a down count.
(2) With a count in progress, writing to the watchdog timer start register again initializes the
watchdog timer to 7FFF
(3) Either executing the WAIT instruction or going to the stopped state causes the watchdog
timer to hold the count in progress and to stop counting. The watchdog timer resumes count-
ing after returning from the execution of the WAIT instruction or from the stopped state.
(4) If the watchdog timer underflows, it is initialized to 7FFF
time, a watchdog timer interrupt occurs.
(1) Start count
7FFF
16
0000
16
"H"
"L"
page 256 of 354
and causes it to resume counting.
16
(3) In stopped state, or WAIT
instruction is executing, etc
(2) Write operation
2. Watchdog Timer
and continues counting. At this
16
(4) Generate
watchdog timer
interrupt
and
16

Advertisement

Table of Contents
loading

Table of Contents