|
MC68HC908QY4_10 Datasheet, PDF (119/168 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers | |||
|
◁ |
Chapter 14
Timer Interface Module (TIM)
14.1 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 14-2
is a block diagram of the TIM.
14.2 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
â 7-frequency internal bus clock prescaler selection
â External TIM clock input
⢠Free-running or modulo up-count operation
⢠Toggle any channel pin on overflow
⢠TIM counter stop and reset bits
14.3 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 14-1. The generic pin name appear in the text that follows.
Table 14-1. Pin Name Conventions
TIM Generic Pin Names:
Full TIM Pin Names:
TCH0
PTA0/TCH0
TCH1
PTA1/TCH1
TCLK
PTA2/TCLK
MC68HC908QY/QT Family Data Sheet, Rev. 6
Freescale Semiconductor
119
|
▷ |