14 8-BIT TIMERS (T8)
14-8
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
T8 Ch.
x
Counter Data Registers (T8_TC
x
)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
T8 Ch.
x
Counter Data
Register
(T8_TC
x
)
0x301104
|
0x301174
(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
D[15:8] Reserved
D[7:0]
TC[7:0]: T8 Counter Data Bits
The counter data can be read out. (Default: 0xff)
This register is read-only and cannot be written to.
T8 Ch.
x
Control Registers (T8_CTL
x
)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
T8 Ch.
x
Control Register
(T8_CTL
x
)
0x301106
|
0x301176
(16 bits)
D15–12 –
reserved
–
–
–
0 when being read.
D11–8 TFMD[3:0] Fine mode setup
(Ch.0 to Ch.3)
0x0 to 0xf
0x0 R/W Set a number of
times to insert delay
into a 16-underflow
period.
–
reserved (Ch.4 to Ch.7)
–
–
–
0 when being read.
D7–5 –
reserved
–
–
–
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
D[15:12] Reserved
D[11:8] TFMD[3:0]: Fine Mode Setup Bits (Ch.0 to Ch.3)
Corrects the transfer rate error. (Default: 0x0)
TFMD[3:0] specifies the delay pattern to be inserted into a 16 underflow period. Inserting one delay
extends the output clock cycle by one count clock cycle. This setting delays the interrupt timing in the
same way.
10.3 Delay Patterns Specified by TFMD[3:0]
Table 14.
TFMD[3:0]
Underflow number
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
0x0
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
0x1
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
D
0x2
–
–
–
–
–
–
–
D
–
–
–
–
–
–
–
D
0x3
–
–
–
–
–
–
–
D
–
–
–
D
–
–
–
D
0x4
–
–
–
D
–
–
–
D
–
–
–
D
–
–
–
D
0x5
–
–
–
D
–
–
–
D
–
–
–
D
–
D
–
D
0x6
–
–
–
D
–
D
–
D
–
–
–
D
–
D
–
D
0x7
–
–
–
D
–
D
–
D
–
D
–
D
–
D
–
D
0x8
–
D
–
D
–
D
–
D
–
D
–
D
–
D
–
D
0x9
–
D
–
D
–
D
–
D
–
D
–
D
–
D
D
D
0xa
–
D
–
D
–
D
D
D
–
D
–
D
–
D
D
D
0xb
–
D
–
D
–
D
D
D
–
D
D
D
–
D
D
D
0xc
–
D
D
D
–
D
D
D
–
D
D
D
–
D
D
D
0xd
–
D
D
D
–
D
D
D
–
D
D
D
D
D
D
D
0xe
–
D
D
D
D
D
D
D
–
D
D
D
D
D
D
D
0xf
–
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D: Indicates the insertion of a delay cycle.
Count clock
Underflow signal (not corrected)
Underflow signal (corrected)
Output clock (not corrected)
Output clock (corrected)
Delayed
15
16
15
16
1
1
10.1 Delay Cycle Insertion in Fine Mode
Figure 14.