APPENDIX A LIST OF I/O REGISTERS
AP-A-42
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
T8 Ch.2
Control Register
(T8_CTL2)
0x301126
(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.2
Interrupt
Control Register
(T8_INT2)
0x301128
(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.
0x301130–0x301138
8-bit Timer (T8) Ch.3 (with Fine mode)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
T8 Ch.3 Input
Clock Select
Register
(T8_CLK3)
0x301130
(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 =
PCLK2
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.3 Reload
Data Register
(T8_TR3)
0x301132
(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.3
Counter Data
Register
(T8_TC3)
0x301134
(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.3
Control Register
(T8_CTL3)
0x301136
(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.3
Interrupt
Control Register
(T8_INT3)
0x301138
(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.