English
Language : 

MC68HC05L16 Datasheet, PDF (77/146 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 9
Timer System
9.1 Introduction
The MC68HC05L16 has two timer modules: timer 1 with a 16-bit counter and timer 2 with an 8-bit counter.
Timer 1 has one input pin (TCAP) and no output pin. Timer 2 has one input pin (EVI) and one output pin
(EVO). Figure 9-1 illustrates the timer system of MC68HC05L16.
TCAP
INPUT
CONTROL 1
CAP
CLK1
TIMER1
16-BIT COUNTER
IEDG
T2CLK
OVF1
CMP1
EXCLK
EVI
INPUT
CONTROL 2
CLK2
SEL
TIMER2
8-BIT COUNTER
CMP2
OUTPUT
CONTROL
EVO
IM2 IL2
PH2
PRESCALER
TIMER REGISTERS
O
O
L
E
2
2
Figure 9-1. Timer System Block Diagram
9.2 Timer 1
Timer 1 consists of a 16-bit software-programmable counter driven by a fixed divide-by-four prescaler.
This timer can be used for many purposes, including input waveform measurements while simultaneously
generating an output compare interrupt. Pulse widths can vary from several microseconds to many
seconds. See Figure 9-2.
MC68HC05L16 • MC68HC705L16 Data Sheet, Rev. 4.1
Freescale Semiconductor
77