Controlling The 8-Bit Osc1 Timer Clock - Epson S1C17704 Technical Manual

Cmos 16-bit single chip microcomputer
Table of Contents

Advertisement

7.6 Controlling the 8-bit OSC1 Timer Clock

The OSC module incorporates a frequency divider and a clock supply control circuit for the 8-bit OSC1 timer. The
8-bit OSC1 timer is a programmable timer that operates with a divided OSC1 clock. See Chapter 14, "8-bit OSC1
Timer (T8OSC1)," for details of the 8-bit OSC1 timer.
OSC1 clock
Selecting a clock division ratio
Select a clock division ratio of the OSC1 clock using T8O1CK[2:0] (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)
Table 7.6.1 Selecting Division Ratio for Generating T8OSC1 Clock
Controlling the clock supply
Use T8O1CE (D0/OSC_T8OSC1 register) to control the clock supply to the 8-bit OSC1 timer. T8O1CE is set
to 0 by default and the clock supply is disabled. When T8O1CE is set to 1, the clock generated with the above
conditions is supplied to the 8-bit OSC1 timer. When the application does not need the 8-bit OSC1 timer to run,
disable the clock supply to reduce current consumption.
∗ T8O1CE: T8OSC1 Clock Enable Bit in the T8OSC1 Clock Control (OSC_T8OSC1) Register (D0/0x5065)
S1C17704 TECHNICAL MANUAL
Divider
Gate
(1/1–1/32)
Division ratio select
Figure 7.6.1 8-bit OSC1 Timer Clock Control Circuit
T8O1CK[2:0]
0x7–0x6
0x5
0x4
0x3
0x2
0x1
0x0
EPSON
8-bit OSC1 timer
On/Off control
Division ratio
Reserved
OSC1•1/32
OSC1•1/16
OSC1•1/8
OSC1•1/4
OSC1•1/2
OSC1•1/1
(Default: 0x0)
7 OSCILLATOR (OSC)
7-7

Advertisement

Table of Contents
loading

Table of Contents