English
Language : 

MC68HC908QL4 Datasheet, PDF (174/226 Pages) Motorola, Inc – Microcontrollers
Timer Interface Module (TIM)
PTA0/AD0/KBI0
PTA1/AD1/TCH1/KBI1
PTA2/IRQ/KBI2/TCLK
PTA3/RST/KBI3
PTA4/OSC2/AD2/KBI4
PTA5/OSC1/AD3/KBI5
PTB0/TCH0
PTB1
PTB2/AD4
PTB3/AD5
PTB4/SLCRX
PTB5/SLCTX
PTB6
PTB7
MC68HC908QL4
128 BYTES
USER RAM
VDD
POWER SUPPLY
VSS
M68HC08 CPU
MC68HC908QL4
4096 BYTES
USER FLASH
INTERNAL OSC
INTERNAL CLOCK SOURCE
4, 8, 12.8, or 25.6 MHz
KEYBOARD INTERRUPT
MODULE
EXTERNAL INTERRUPT
MODULE
AUTO WAKEUP
MODULE
LOW-VOLTAGE
INHIBIT
2-CHANNEL 16-BIT
TIMER MODULE
COP
MODULE
6-CHANNEL
10-BIT ADC
SLAVE LIN INTERFACE
CONTROLLER
DEVELOPMENT SUPPORT
MONITOR ROM
BREAK MODULE
RST, IRQ: Pins have internal pull up device
All port pins have programmable pull up device (pullup/down on port A)
PTA[0:5]: Higher current sink and source capability
Figure 15-1. Block Diagram Highlighting TIM Block and Pins
15.3.2 Input Capture
With the input capture function, the TIM can capture the time at which an external event occurs. When an
active edge occurs on the pin of an input capture channel, the TIM latches the contents of the counter into
the TIM channel registers, TCHxH:TCHxL. The polarity of the active edge is programmable. Input
captures can be enabled to generate interrupt requests.
15.3.3 Output Compare
With the output compare function, the TIM can generate a periodic pulse with a programmable polarity,
duration, and frequency. When the counter reaches the value in the registers of an output compare
channel, the TIM can set, clear, or toggle the channel pin. Output compares can be enabled to generate
interrupt requests.
MC68HC908QL4 Data Sheet, Rev. 7
174
Freescale Semiconductor