![Epson S1C17F13 Technical Manual Download Page 75](http://html.mh-extra.com/html/epson/s1c17f13/s1c17f13_technical-manual_107784075.webp)
7 WATCHDOG TIMER (WDT)
S1C17F13 TeChniCal Manual
Seiko epson Corporation
7-3
(Rev. 1.0)
Control Registers
7.4
WDT Clock Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
WDTCLK
15–9 –
0x00
–
R
–
8
DBRUN
0
H0
R/WP
7–6 –
0x0
–
R
5–4 CLKDIV[1:0]
0x0
H0
R/WP
3–2 –
0x0
–
R
1–0 CLKSRC[1:0]
0x0
H0
R/WP
Bits 15–9 Reserved
Bit 8
DBRun
This bit sets whether the WDT operating clock is supplied in DEBUG mode or not.
1 (R/WP): Clock supplied in DEBUG mode
0 (R/WP): No clock supplied in DEBUG mode
Bits 7–6
Reserved
Bits 5–4
ClKDiV[1:0]
These bits select the division ratio of the WDT operating clock (counter clock). The clock frequency
should be set to around 256 Hz.
Bits 3–2
Reserved
Bits 1–0
ClKSRC[1:0]
These bits select the clock source of WDT.
4.1 Clock Source and Division Ratio Settings
Table 7.
WDTCLK.
CLKDIV[1:0] bits
WDTCLK.CLKSRC[1:0] bits
0x0
0x1
0x2
0x3
OSC3B
OSC1
OSC3A
EXOSC
0x3
1/65,536
1/128
1/65,536
1/1
0x2
1/32,768
1/32,768
0x1
1/16,384
1/16,384
0x0
1/8,192
1/8,192
(Note) The oscillation circuits/external input that are not supported in this IC cannot be
selected as the clock source.
WDT Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
WDTCTL
15–10 –
0x00
–
R
–
9
NMIXRST
0
H0
R/WP
8
STATNMI
0
H0
R
7–5 –
0x0
–
R
4
WDTCNTRST
0
H0
WP
Always read as 0.
3–0 WDTRUN[3:0]
0xa
H0
R/WP –
Bits 15–10 Reserved
Bit 9
nMiXRST
This bit sets the WDT operating mode.
1 (R/WP): NMI mode
0 (R/WP): Reset mode
This bit is used to select whether an NMI signal or a reset signal is output when WDT has not been
reset within the NMI/reset generation cycle.