APPENDIX A LIST OF I/O REGISTERS
AP-A-40
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
WDT Enable
and Setup
Register
(WD_EN)
0x301002
(16 bits)
D15–7 –
reserved
–
–
–
0 when being read.
D6
CLKSEL
WDT input clock select
1 External clk 0 Internal clk
0
R/W Write-protected
D5
CLKEN
WDT clock output control
1 On
0 Off
0
R/W
D4
RUNSTP
WDT Run/Stop control
1 Run
0 Stop
0
R/W
D3–2 –
reserved
–
–
–
0 when being read.
D1
NMIEN
WDT NMI enable
1 Enable
0 Disable
0
R/W Write-protected
D0
RESEN
WDT RESET enable
1 Enable
0 Disable
0
R/W
WDT
Comparison
Data L Register
(WD_CMP_L)
0x301004
(16 bits)
D15–0 CMPDT
[15:0]
WDT comparison data
CMPDT0 = LSB
0x0 to 0x3fffffff
(low-order 16 bits)
0x0 R/W Write-protected
WDT
Comparison
Data H Register
(WD_CMP_H)
0x301006
(16 bits)
D15–14 –
reserved
–
–
–
0 when being read.
D13-0 CMPDT
[29:16]
WDT comparison data
CMPDT29 = MSB
0x0 to 0x3fffffff
(high-order 14 bits)
0x0 R/W Write-protected
WDT Count
Data L Register
(WD_CNT_L)
0x301008
(16 bits)
D15–0 CTRDT
[15:0]
WDT counter data
CTRDT0 = LSB
0x0 to 0x3fffffff
(low-order 16 bits)
X
R
WDT Count
Data H Register
(WD_CNT_H)
0x30100a
(16 bits)
D15–14 –
reserved
–
–
–
0 when being read.
D13-0 CTRDT
[29:16]
WDT counter data
CTRDT29 = MSB
0x0 to 0x3fffffff
(high-order 14 bits)
X
R
WDT Control
Register
(WD_CTL)
0x30100c
(16 bits)
D15–1 –
reserved
–
–
–
0 when being read.
D0
WDRESEN WDT reset
1 Reset
0 ignored
0
W
0x301100–0x301108
8-bit Timer (T8) Ch.0 (with Fine mode)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
T8 Ch.0 Input
Clock Select
Register
(T8_CLK0)
0x301100
(16 bits)
D15–4 –
reserved
–
–
–
0 when being read.
D3–0 DF[3:0]
T8 clock division ratio select
(Prescaler output clock)
DF[3:0]
Division ratio
0x0 R/W Source clock =
PCLK1
0xf
0xe
0xd
0xc
0xb
0xa
0x9
0x8
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
1/16384
1/8192
1/4096
1/2048
1/1024
1/512
1/256
1/128
1/64
1/32
1/16
1/8
1/4
1/2
1/1
T8 Ch.0 Reload
Data Register
(T8_TR0)
0x301102
(16 bits)
D15–8 –
reserved
–
–
–
0 when being read.
D7–0 TR[7:0]
T8 reload data
TR7 = MSB
TR0 = LSB
0x0 to 0xff
0x0 R/W
T8 Ch.0
Counter Data
Register
(T8_TC0)
0x301104
(16 bits)
D15–8 –
reserved
–
–
–
0 when being read.
D7–0 TC[7:0]
T8 counter data
TC7 = MSB
TC0 = LSB
0x0 to 0xff
0xff
R
T8 Ch.0
Control Register
(T8_CTL0)
0x301106
(16 bits)
D15–12 –
reserved
–
–
–
0 when being read.
D11–8 TFMD[3:0] Fine mode setup
0x0 to 0xf
0x0 R/W Set a number of
times to insert delay
into a 16-underflow
period.
D7–5 –
reserved
–
–
–
0 when being read.
D4
TRMD
Count mode select
1 One shot
0 Repeat
0
R/W
D3–2 –
reserved
–
–
–
0 when being read.
D1
PRESER
Timer reset
1 Reset
0 Ignored
0
W
D0
PRUN
Timer run/stop control
1 Run
0 Stop
0
R/W
T8 Ch.0
Interrupt
Control Register
(T8_INT0)
0x301108
(16 bits)
D15–9 –
reserved
–
–
–
0 when being read.
D8
T8IE
T8 interrupt enable
1 Enable
0 Disable
0
R/W
D7–1 –
reserved
–
–
–
0 when being read.
D0
T8IF
T8 interrupt flag
1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1.