|
M16C62_M Datasheet, PDF (474/615 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES | |||
|
◁ |
Watchdog Timer
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Setting watchdog timer control register
b7
00
b0
Watchdog timer control register [Address 000F16]
WDC
Reserved bit
Must always be set to â0â
Prescaler select bit
0 : Divided by 16
1 : Divided by 128
Setting watchdog timer start register
b7
b0
Watchdog timer start register [Address 000E16]
WDTS
The watchdog timer is initialized and starts counting with a write instruction to
this register. The watchdog timer value is always initialized to â7FFF16â
regardless of the value written.
Generating watchdog
timer interrupt
Clearing the protect
b7
b0
1
Protect register [Address 000A16]
PRCR
Enables writing to processor mode registers 0 and 1
(addresses 000416 and 000516)
1 : Write-enabled
Software reset
b7
1
b0
Processor mode register 0 [Address 000416]
PM0
Software reset bit
The device is reset when this bit is set to â1â. The value of this bit
is â0â when read.
Figure 2.11.4. Set-up procedure of watchdog timer
2-157
|
▷ |