Epson S1C17704 Technical Manual page 390

Cmos 16-bit single chip microcomputer
Table of Contents

Advertisement

APPENDIX A LIST OF I/O REGISTERS
0x4260–0x4266
Register name Address
Bit
16-bit Timer
0x4260
D15–4 –
Ch.2 Input
(16 bits)
D3–0 DF[3:0]
Clock Select
Register
(T16_CLK2)
16-bit Timer
0x4262
D15–0 TR[15:0]
Ch.2 Reload
(16 bits)
Data Register
(T16_TR2)
16-bit Timer
0x4264
D15–0 TC[15:0]
Ch.2 Counter
(16 bits)
Data Register
(T16_TC2)
16-bit Timer
0x4266
D15–11 –
Ch.2 Control
(16 bits)
D10
Register
D9–8 CKSL[1:0]
(T16_CTL2)
D7–5 –
D4
D3–2 –
D1
D0
AP-8
Name
Function
reserved
Timer input clock select
(Prescaler output clock)
16-bit timer reload data
TR15 = MSB
TR0 = LSB
16-bit timer counter data
TC15 = MSB
TC0 = LSB
reserved
CKACTV
External clock active level select
Input clock and pulse width
measurement mode select
reserved
TRMD
Count mode select
reserved
PRESER
Timer reset
PRUN
Timer run/stop control
Setting
DF[3:0]
0xf
0xe
PCLK•1/16384
0xd
PCLK•1/8192
0xc
PCLK•1/4096
0xb
PCLK•1/2048
0xa
PCLK•1/1024
0x9
PCLK•1/512
0x8
PCLK•1/256
0x7
PCLK•1/128
0x6
PCLK•1/64
0x5
PCLK•1/32
0x4
PCLK•1/16
0x3
PCLK•1/8
0x2
PCLK•1/4
0x1
PCLK•1/2
0x0
PCLK•1/1
0x0 to 0xffff
0x0 to 0xffff
1 High
0 Low
CKSL[1:0]
0x3
0x2
Pulse width
0x1
External clock
0x0
Internal clock
1 One shot
0 Repeat
1 Reset
0 Ignored
1 Run
0 Stop
EPSON
16-bit Timer
Init. R/W
Remarks
0 when being read.
Clock
0x0 R/W
reserved
0x0 R/W
0xffff
R
0 when being read.
1
R/W
Mode
0x0 R/W
reserved
0 when being read.
0
R/W
0 when being read.
0
W
0
R/W
S1C17704 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

Table of Contents