Count Clock - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

12.3 Count Clock

The 8-bit timer uses the prescaler output clock as the count clock. The prescaler generates 15 different clocks by di-
viding the PCLK clock into 1/1 to 1/16 K divisions. One of these is selected by the DF[3:0] bit (D[3:0]/T8F_CLK
register).
∗ DF[3:0]: Timer Input Clock Select Bits in the 8-bit Timer Input Clock Select (T8F_CLK) Register (D[3:0]/
0x4200)
DF[3:0]
0xf
0xe
0xd
0xc
0xb
0xa
0x9
0x8
Note: • The prescaler must run before the 8-bit timer.
• Make sure the 8-bit timer count is halted before changing count clock settings.
For detailed information on the prescaler control, see "9 Prescaler (PSC)."
S1C17001 TECHNICAL MANUAL
Table 12.3.1: Count clock selection
Prescaler output clock
Reserved
PCLK-1/16384
PCLK-1/8192
PCLK-1/4096
PCLK-1/2048
PCLK-1/1024
PCLK-1/512
PCLK-1/256
EPSON
DF[3:0]
Prescaler output clock
0x7
PCLK-1/128
0x6
PCLK-1/64
0x5
PCLK-1/32
0x4
PCLK-1/16
0x3
PCLK-1/8
0x2
PCLK-1/4
0x1
PCLK-1/2
0x0
PCLK-1/1
12 8-BIT TIMER (T8F)
(Default: 0x0)
127

Advertisement

Table of Contents
loading

Table of Contents