13 16-BiT PWM TiMeRS (T16a2)
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
13-13
8.2 Internal Clock Division Ratio Selection
Table 13.
ClKDiV[3:0]
Division ratio
Clock source = iOSC or OSC3
Clock source = OSC1
0xf
Reserved
0xe
1/16384
Reserved
0xd
1/8192
Reserved
0xc
1/4096
Reserved
0xb
1/2048
Reserved
0xa
1/1024
Reserved
0x9
1/512
Reserved
0x8
1/256
0x7
1/128
0x6
1/64
0x5
1/32
0x4
1/16
0x3
1/8
0x2
1/4
0x1
1/2
0x0
1/1
(Default: 0x0)
D[3:2]
ClKSRC[1:0]: Clock Source Select Bits
Selects the count clock source.
8.3 Clock Source Selection
Table 13.
ClKSRC[1:0]
Clock source
0x3
External clock (EXCL
x
)
0x2
OSC3
0x1
OSC1
0x0
IOSC
(Default: 0x0)
When using an external clock as the count clock, supply the clock to the EXCL
x
pin.
D1
MulTiMD: Multi-Comparator/Capture Mode Select Bit (T16a_ClK0 register)
Sets the T16A2 module to multi-comparator/capture mode.
1 (R/W): Multi-comparator/capture mode
0 (R/W): Normal channel mode (default)
In multi-comparator/capture mode, the clock for Ch.0 configured in the T16A_CLK0 register is sup-
plied to all timer channels. In normal channel mode, different clock configured for each channel indi-
vidually is supplied to the respective counter.
D1
Reserved (T16a_ClK1 register)
D0
ClKen: Count Clock enable Bit
Enables or disables the count clock supply to the counter.
1 (R/W): Enabled (on)
0 (R/W): Disabled (off) (default)
The CLKEN default setting is 0, which disables the clock supply. Setting CLKEN to 1 sends the clock
selected as above to the counter. If timer operation is not required, disable the clock supply to reduce
current consumption.