![Toshiba TMPM3V4 Manual Download Page 460](http://html.mh-extra.com/html/toshiba/tmpm3v4/tmpm3v4_manual_428626460.webp)
21.5 Control register
The watchdog timer (WDT) is controlled by two control registers WDMOD and WDCR.
21.5.1 Watchdog Timer Mode Register (WDMOD)
1. Specifying the detection time of the watchdog timer <WDTP[2:0]>.
Set the watchdog timer detecting time to WDMOD<WDTP[2:0]>. After reset, it is initialized to
WDMOD<WDTP[2:0]> = "000".
2. Enabling/disabling the watchdog timer <WDTE>.
When resetting, WDMOD <WDTE> is initialized to "1" and the watchdog timer is enabled.
To disable the watchdog timer to protect from the error writing by the malfunction, first
<WDTE> bit is set to "0", and then the disable code (0xB1) must be written to WDCR register.
To change the status of the watchdog timer from "disable" to "enable," set the <WDTE> bit to
"1".
3. Watchdog timer out reset connection <RESCR>
This register specifies whether WDTOUT is used for internal reset or interrupt. After reset,
WDMOD<RESCR> is initialized to "1", the internal reset is generated by the overflow of binary coun-
ter.
21.5.2 Watchdog Timer Control Register(WDCR)
This is a register for disabling the watchdog timer function and controlling the clearing function of the bina-
ry counter.
TMPM3V6/M3V4
21. Watchdog Timer(WDT)
21.5 Control register
Page 438
2019-02-06
Summary of Contents for TMPM3V4
Page 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Page 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Page 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Page 8: ......
Page 22: ...xiv ...
Page 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Page 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Page 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Page 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Page 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Page 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Page 544: ......