English
Language : 

MC68HC908JW32_09 Datasheet, PDF (107/232 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Chapter 8
Timer Interface Module (TIM)
8.1 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 8-1 is
a block diagram of the TIM.
This particular MCU has a single timer interface modules which are denoted as TIM1.
8.2 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
– External TIM clock input (bus frequency / 2 maximum)
• Free-running or modulo up-count operation
• Toggle channel pin on overflow
• TIM counter stop and reset bits
8.3 Pin Name Conventions
The text that follows describes the timer, TIM1. The TIM input/output (I/O) pin names are T1CH01 (timer
channel 01). The TIMER shares three I/O pins with three port C I/O port pins. The timer clock input is used
by TIM1 modules. The full names of the TIM I/O pins are listed in
Table 8-1. The generic pin names appear in the text that follows.
Table 8-1. Pin Name Conventions
TIM Generic Pin
Names:
Full TIM
Pin Names:
T1CH0
PTC0/T1CH0
T1CH1
PTC2/T1CH1
TCLK1
PTC1/TCLK1
NOTE
References to timer 1 may be made in the following text by omitting the
timer number. For example, TCH01 may refer generically to T1CH01.
MC68HC908JW32 Data Sheet, Rev. 6
Freescale Semiconductor
107