III PERIPHERAL BLOCK: WATCHDOG TIMER
I/O Memory of Watchdog Timer
Table 5.1 shows the control bits of the watchdog timer.
Table 5.1 Control Bits of Watchdog Timer
Register name | Address | Bit | Name | Function |
| Setting |
| Init. | R/W | Remarks | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
Watchdog | 0040170 | D7 | WRWD | EWD write protection | 1 | Write enabled |
| 0 | 0 | R/W |
| |
timer write- | (B) | – | – |
| – |
|
| – | – | 0 when being read. | ||
protect register |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
Watchdog | 0040171 | – | – |
| – |
|
| – | – | 0 when being read. | ||
timer enable | (B) | D1 | EWD | Watchdog timer enable | 1 | NMI enabled |
| 0 | NMI disabled | 0 | R/W |
|
register |
| D0 | – | – |
| – |
|
| – | – | 0 when being read. |
WRWD: EWD write protection (D7) / Watchdog timer
Enables writing to the EWD register.
Write "1": Writing enabled
Write "0":
Read: Valid
The EWD bit is
If WRWD is reset to "0" when EWD is
EWD: NMI enable (D1) / Watchdog timer enable register (0x40171)
Controls the generation of a nonmaskable interrupt (NMI) by the watchdog timer.
Write "1": NMI is enabled
Write "0": NMI is disabled
Read: Valid
The watchdog timer's interrupt signal is masked by writing "0" to EWD, so a nonmaskable interrupt (NMI) to the CPU is not generated. If EWD is set to "1", an NMI is generated by the
Writing to EWD is valid only when WRWD = "1".
Even when EWD is set to "0", the
At initial reset, EWD is set to "0" (NMI disabled).
Programming Notes
(1)If the watchdog timer's NMI is enabled, the watchdog timer must be reset in the software before the
(2)Even when EWD is set to "0", the
WDT
S1C33L03 FUNCTION PART | EPSON |