Epson S1C17624 Technical Manual page 146

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

IOSC clock
OSC3 clock
OSC1 clock
External clock (EXCL5)
External clock (EXCL6)
Clock source selection
The clock source can be selected from IOSC, OSC3, OSC1, or external clock using CLKSRC[1:0]/T16A_
CLKx register.
When external clock is selected, the timer can be used as an event counter or for measuring pulse widths by
inputting an external clock or pulses. The table below lists the external clock input pins. It is not necessary to
switch their pin functions from general-purpose I/O port. However, do not set the I/O port to output mode.
internal clock division ratio selection
When an internal clock (IOSC, OSC3, or OSC1) is selected, use CLKDIV[3:0]/T16A_CLKx register to select
the division ratio.
ClKDiV[3:0]
0xf
0xe
0xd
0xc
0xb
0xa
0x9
0x8
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
S1C17624/604/622/602/621 TeChniCal Manual
CLKDIV[3:0]
Divider
(1/1–1/16K)
Divider
(1/1–1/16K)
Divider
(1/1–1/256)
Figure 13.
3.1 Clock Controller
Table 13.
3.1 Clock Source Selection
ClKSRC[1:0]
0x3
0x2
0x1
0x0
Table 13.
3.2 External Clock Input Pins
Channel
T16A2 Ch.0
T16A2 Ch.1
Table 13.
3.3 Internal Clock Division Ratio Selection
Clock source = iOSC or OSC3
1/16384
1/8192
1/4096
1/2048
1/1024
1/512
Seiko epson Corporation
13 16-BiT PWM TiMeRS (T16a2)
CLKSRC[1:0]
MULTIMD
CLKEN
Clock controller Ch.0
Clock controller Ch.1
Clock source
External clock (EXCLx)
OSC3
OSC1
IOSC
(Default: 0x0)
external clock input pin
EXCL5
EXCL6
Division ratio
Clock source = OSC1
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
1/256
1/128
1/64
1/32
1/16
1/8
1/4
1/2
1/1
Counter Ch.0
Counter Ch.1
(Default: 0x0)
13-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17604S1c17622S1c17602S1c17621

Table of Contents