mc68hc908jw32 Freescale Semiconductor, Inc, mc68hc908jw32 Datasheet - Page 106

no-image

mc68hc908jw32

Manufacturer Part Number
mc68hc908jw32
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908jw32FAE
Manufacturer:
FREESCALE
Quantity:
20 000
Timer Interface Module (TIM)
8.4 Functional Description
Figure 8-1
that can operate as a free-running counter or a modulo up-counter. The TIM counter provides the timing
reference for the input capture and output compare functions. The TIM counter modulo registers,
TMODH:TMODL, control the modulo value of the TIM counter. Software can read the TIM counter value
at any time without affecting the counting sequence.
The TIM channel (per timer) is programmable independently as input capture or output compare channel.
If a channel is configured as input capture, then an internal pullup device may be enabled for that channel.
(See
Figure 8-2
106
Chapter 13 Input/Output (I/O) Ports.)
BUS CLOCK
INTERNAL
shows the structure of the TIM. The central component of the TIM is the 16-bit TIM counter
summarizes the timer registers.
TCLK1
TSTOP
TRST
16-BIT COMPARATOR
16-BIT COMPARATOR
16-BIT COMPARATOR
References to timer 1 may be made in the following text by omitting the
timer number. For example, TSC may generically refer to both T1SC.
16-BIT COUNTER
TMODH:TMODL
TCH0H:TCH0L
TCH1H:TCH1L
16-BIT LATCH
16-BIT LATCH
CHANNEL 0
CHANNEL 1
PRESCALER
Figure 8-1. TIM Block Diagram
MC68HC908JW32 Data Sheet, Rev. 5
ELS0B
ELS0B
MS0A
MS0A
PS2
ELS0A
ELS0A
PRESCALER SELECT
NOTE
PS1
MS0B
CH0F
CH1F
PS0
CH0MAX
CH1MAX
CH01IE
CH0IE
CH1IE
TOV0
TOV1
TOIE
TOF
INTERRUPT
INTERRUPT
INTERRUPT
LOGIC
LOGIC
LOGIC
LOGIC
LOGIC
Freescale Semiconductor
PORT
PORT
T1CH0
T1CH1

Related parts for mc68hc908jw32