S908QC16CDRE FREESCALE [Freescale Semiconductor, Inc], S908QC16CDRE Datasheet - Page 189

no-image

S908QC16CDRE

Manufacturer Part Number
S908QC16CDRE
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Chapter 16
Timer Interface Module (TIM1)
16.1 Introduction
This section describes the timer interface module (TIM1). The TIM1 module is a 4-channel timer that
provides a timing reference with input capture, output compare, and pulse-width-modulation functions.
The TIM1 module shares its pins with general-purpose input/output (I/O) port pins. See
port location of these shared pins.
16.2 Features
Features include the following:
16.3 Functional Description
Figure 16-2
can operate as a free-running counter or a modulo up-counter. The counter provides the timing reference
for the input capture and output compare functions. The TIM1 counter modulo registers,
T1MODH:T1MODL, control the modulo value of the counter. Software can read the counter value,
T1CNTH:T1CNTL, at any time without affecting the counting sequence.
The four TIM1 channels are programmable independently as input capture or output compare channels.
Freescale Semiconductor
Four input capture/output compare channels
Buffered and unbuffered output compare pulse-width modulation (PWM) signal generation
Programmable clock input
Free-running or modulo up-count operation
Toggle any channel pin on overflow
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 clock input pin if available, see
shows the structure of the TIM1. The central component of the TIM1 is the 16-bit counter that
MC68HC908QC16 • MC68HC908QC8 • MC68HC908QC4 Data Sheet, Rev. 2
Figure 16-1
Figure 16-1
for
189

Related parts for S908QC16CDRE