Datasheet
MC68HC908QY4•MC68HC908QT4•MC68HC908QY2•MC68HC908QT2•MC68HC908QY1•MC68HC908QT1
130 Timer Interface Module (TIM) MOTOROLA
Timer Interface Module (TIM)
NON-DISCLOSURE AGREEMENT REQUIRED
10.2 Introduction
This section describes the timer interface module (TIM). The TIM is a
two-channel timer that provides a timing reference with input capture,
output compare, and pulse-width-modulation functions. Figure 10-1 is a
block diagram of the TIM.
10.3 Features
Features of the TIM include the following:
• 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
10.4 Pin Name Conventions
The TIM shares two input/output (I/O) pins with two port A I/O pins. The
full names of the TIM I/O pins are listed in Table 10-1. The generic pin
name appear in the text that follows.
Table 10-1. Pin Name Conventions
TIM Generic Pin Names: TCH0 TCH1
Full TIM Pin Names: PTA0/TCH0 PTA1/TCH1