Count Clock - Epson S1C17704 Technical Manual

Cmos 16-bit single chip microcomputer
Table of Contents

Advertisement

14.3 Count Clock

The 8-bit OSC1 timer uses a divided OSC1 clock output from the OSC module as the count clock. The OSC
module divides the OSC1 clock by 1 to 32 to generate 6 clocks. Select one of these clocks using the T8O1CK[2:0]
bits (D[3:1]/OSC_T8OSC1 register).
∗ T8O1CK[2:0]: T8OSC1 Clock Division Ratio Select Bits in the T8OSC1 Clock Control (OSC_T8OSC1) Register
(D[3:1]/0x5065)
Use the T8O1CE bit (D0/OSC_T8OSC1 register) to control the clock supply to the 8-bit OSC1 timer. T8O1CE is set
to 0 by default, so the clock is disabled for supplying. When the T8O1CE is set to 1, the clock selected as above is
supplied to the 8-bit OSC1 timer. If the 8-bit OSC1 timer does not need to operate, stop the clock supply to reduce the
current consumption.
∗ T8O1CE: T8OSC1 Clock Enable Bit in the T8OSC1 Clock Control (OSC_T8OSC1) Register (D0/0x5065)
Note: When setting the count clock, make sure the 8-bit OSC1 timer counter is stopped.
For control of the clock, see Chapter 7, "Oscillator (OSC)."
S1C17704 TECHNICAL MANUAL
Table 14.3.1 Selecting the Count Clock
T8O1CK[2:0]
0x7–0x6
0x5
0x4
0x3
0x2
0x1
0x0
EPSON
14 8-BIT OSC1 TIMER (T8OSC1)
Division ratio
Reserved
OSC1•1/32
OSC1•1/16
OSC1•1/8
OSC1•1/4
OSC1•1/2
OSC1•1/1
(Default: 0x0)
14-3

Advertisement

Table of Contents
loading

Table of Contents