Timer Interface Module (TIM)
22.2 Introduction
22.3 Features
Technical Data
342
Freescale Semiconductor, Inc.
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.
block diagram of the TIM.
This particular MCU has two timer interface modules which are denoted
as TIM1 and TIM2.
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
Timer Interface Module (TIM)
For More Information On This Product,
Go to: www.freescale.com
MC68HC908GP32
MC68HC08GP32
•
Figure 22-1
is a
Rev. 6
—
MOTOROLA