12 8-Bit Timer (T8F); Outline Of The 8-Bit Timer - Epson S1C17704 Technical Manual

Cmos 16-bit single chip microcomputer
Table of Contents

Advertisement

12 8-bit Timer (T8F)

12.1 Outline of the 8-bit Timer

The S1C17704 incorporates one channel of 8-bit timer with fine mode.
The 8-bit timer module includes an 8-bit presettable down counter and an 8-bit reload data register for setting the
preset value. The timer counts down from the initial value set in the reload data register and outputs an underflow
signal when the counter underflows. The underflow signal is used to generate an interrupt and the clock for UART.
The underflow period can be programmed by selecting a prescaler clock and setting reload data. This allows
the application program to get any desired time intervals and programmable serial transfer rates. The fine mode
provides a function to minimize transfer rate error.
Figure 12.1.1 shows the structure of the 8-bit timer.
Prescaler
To ITC
To UART
S1C17704 TECHNICAL MANUAL
8-bit Timer
Count clock select
DF[3:0]
PCLK•1/1–1/16K
PRUN
Run/stop control
Interrupt request
Serial transfer clock
Figure 12.1.1 Structure of 8-bit Timer
Timer reset
Reload data register
Down counter
Control circuit
Fine mode setting
EPSON
12 8-BIT TIMER (T8F)
PRESER
T8F_TR
T8F_TC
Underflow
TFMD[3:0]
12-1

Advertisement

Table of Contents
loading

Table of Contents