Count Clock - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

14.3 Count Clock

The 8-bit OSC1 timer uses the OSC1 division clock output by the OSC module as the count clock. The OSC mod-
ule generates 6 different clocks by dividing the OSC1 clock into 1/1 to 1/32 divisions. One of these is selected by
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)
The clock feed to the 8-bit OSC1 timer is controlled using T8O1CE (D0/OSC_T8OSC1 register). The T8O1CE
default setting is 0, which stops the clock feed. Setting T8O1CE to 1 sends the clock generated as above to the 8-bit
OSC1 timer. If 8-bit OSC1 timer operation is not required, the clock feed should be stopped to reduce power con-
sumption.
∗ T8O1CE: T8OSC1 Clock Enable Bit in the T8OSC1 Clock Control (OSC_T8OSC1) Register (D0/0x5065)
Note: Make sure the 8-bit OSC1 timer count is halted before changing count clock settings.
For detailed information on clock control, refer to "7 Oscillator Circuit (OSC)."
S1C17001 TECHNICAL MANUAL
Table 14.3.1: Count clock selection
T8O1CK[2:0]
0x7 to 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)
163

Advertisement

Table of Contents
loading

Table of Contents