s908gr32ag3vfa Freescale Semiconductor, Inc, s908gr32ag3vfa Datasheet - Page 241

no-image

s908gr32ag3vfa

Manufacturer Part Number
s908gr32ag3vfa
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 18
Timer Interface Module (TIM2)
18.1 Introduction
This section describes the timer interface module (TIM2). The TIM2 is a 6-channel timer that provides a
timing reference with input capture, output compare, and pulse-width-modulation functions.
is a block diagram of the TIM2.
18.2 Features
Features of the TIM2 include:
18.3 Functional Description
Figure 18-2
can operate as a free-running counter or a modulo up-counter. The TIM2 counter provides the timing
reference for the input capture and output compare functions. The TIM2 counter modulo registers,
T2MODH:T2MODL, control the modulo value of the TIM2 counter. Software can read the TIM2 counter
value at any time without affecting the counting sequence.
The six TIM2 channels are programmable independently as input capture or output compare channels.
Freescale Semiconductor
Six input capture/output compare channels:
Buffered and unbuffered pulse width modulation (PWM) signal generation
Programmable TIM2 clock input
Free-running or modulo up-count operation
Toggle any channel pin on overflow
TIM2 counter stop and reset bits
Rising-edge, falling-edge, or any-edge input capture trigger
Set, clear, or toggle output compare action
7-frequency internal bus clock prescaler selection
External TIM2 clock input (4-MHz maximum frequency)
shows the TIM2 structure. The central component of the TIM2 is the 16-bit TIM2 counter that
MC68HC908GR60A • MC68HC908GR48A • MC68HC908GR32A Data Sheet, Rev. 5
Figure 18-2
241

Related parts for s908gr32ag3vfa