English
Language : 

MC68HC908GR16 Datasheet, PDF (245/310 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Data Sheet — MC68HC908GR16
Section 18. Timer Interface Module (TIM)
18.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 18-1 is a block diagram of the TIM.
This particular MCU has two timer interface modules which are denoted as TIM1
and TIM2.
INTERNAL
BUS CLOCK
TSTOP
TRST
PRESCALER
16-BIT COUNTER
16-BIT COMPARATOR
TMODH:TMODL
PRESCALER SELECT
PS2
PS1
PS0
CHANNEL 0
16-BIT COMPARATOR
TCH0H:TCH0L
16-BIT LATCH
CHANNEL 1
16-BIT COMPARATOR
TCH1H:TCH1L
16-BIT LATCH
ELS0B ELS0A
CH0F
MS0A
ELS1B ELS1A
MS0B
MS1A
CH1F
TOF
TOIE
TOV0
CH0MAX
CH0IE
TOV1
CH1MAX
CH1IE
Figure 18-1. TIM Block Diagram
INTERRUPT
LOGIC
PORT
LOGIC
T[1,2]CH0
INTERRUPT
LOGIC
PORT
LOGIC
T[1,2]CH1
INTERRUPT
LOGIC
MC68HC908GR16 — Rev. 1.0
MOTOROLA
Timer Interface Module (TIM)
For More Information On This Product,
Go to: www.freescale.com
Data Sheet
245