Freescale Semiconductor, Inc.
Timer Interface Module (TIM)
15.2 Introduction
This section describes the timer interface module (TIM). The TIM is a
2-channel timer:
•
The first channel, channel 0, provides a timing reference with input
capture, output compare, and pulse-width-modulation (PWM)
functions.
•
The second channel, channel 1, provides reduced functionality as
it doesn’t have an external pin.
Figure 15-1 is a block diagram of the TIM.
15.3 Features
Features of the TIM include:
•
One input capture/output compare channel:
– Rising-edge, falling-edge, or any-edge input capture trigger
– Set, clear, or toggle output compare action
Buffered and unbuffered PWM signal generation
Programmable TIM clock input:
•
•
– 7-frequency internal bus clock prescaler selection
– External TIM clock input (bus frequency ÷ 2 maximum)
Free-running or modulo up-count operation
Toggle any channel pin on overflow
•
•
•
TIM counter stop and reset bits
Advance Information
198
MC68HC908RFRK2
Timer Interface Module (TIM)
MOTOROLA
For More Information On This Product,
Go to: www.freescale.com