Timer Interface Module (TIM)
Technical Data
MC68HC908GP32
•
MC68HC08GP32
—
Rev. 6
342
Timer Interface Module (TIM)
MOTOROLA
22.2 Introduction
This section describes the timer interface (TIM) module. The TIM is a
two-channel timer that provides a timing reference with input capture,
output compare, and pulse-width-modulation functions.
Figure 22-1
is a
block diagram of the TIM.
This particular MCU has two timer interface modules which are denoted
as TIM1 and TIM2.
22.3 Features
Features of the TIM include:
•
Two input capture/output compare channels:
–
Rising-edge, falling-edge, or any-edge input capture trigger
–
Set, clear, or toggle output compare action
•
Buffered and unbuffered pulse-width-modulation (PWM) signal
generation
•
Programmable TIM clock input with 7-frequency internal bus clock
prescaler selection
•
Free-running or modulo up-count operation
•
Toggle any channel pin on overflow
•
TIM counter stop and reset bits
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..