mc68hc908kx8 Freescale Semiconductor, Inc, mc68hc908kx8 Datasheet - Page 155

no-image

mc68hc908kx8

Manufacturer Part Number
mc68hc908kx8
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908kx8CDW
Manufacturer:
FSC
Quantity:
364
Part Number:
mc68hc908kx8CDW
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc68hc908kx8CDWE
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc68hc908kx8CDWE
Quantity:
588
Part Number:
mc68hc908kx8MDWE
Manufacturer:
MOT
Quantity:
6 238
Company:
Part Number:
mc68hc908kx8VP
Quantity:
13
Chapter 15
Timer Interface Module (TIM)
15.1 Introduction
This section describes the timer interface module (TIM). The TIM is a 2-channel timer that provides a
timing reference with input capture, output compare, and pulse-width modulation functions.
is a block diagram of the TIM.
15.2 Features
Features include:
15.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
15.4 Functional Description
Figure 15-2
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
and 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 two TIM channels are programmable independently as input capture or output compare channels.
Figure 15-3
Freescale Semiconductor
Two input capture/output compare channels:
Buffered and unbuffered pulse-width modulation (PWM) signal generation
Programmable TIM clock input — 7-frequency internal bus clock prescaler selection
Free-running or modulo up-counter operation
Toggle either channel pin on overflow
TIM counter stop and reset bits
Table
Rising-edge, falling-edge, or any-edge input capture trigger
Set, clear, or toggle output compare action
shows the structure of the TIM. The central component of the TIM is the 16-bit TIM counter
summarizes the timer registers.
15-1. The generic pin names appear in the text that follows.
TIM Generic Pin Names:
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 Data Sheet, Rev. 2.1
Full TIM Pin Names:
Table 15-1. Pin Name Conventions
PTA2/KBD2/TCH0
TCH0
PTA3/KBD3/TCH1
TCH1
Figure 15-2
155

Related parts for mc68hc908kx8