English
Language : 

MMC2107 Datasheet, PDF (295/618 Pages) –
Freescale Semiconductor, Inc.
Timer Modules (TIM1 and TIM2)
Introduction
15.2 Introduction
The MMC2107 has two 4-channel timer modules (TIM1 and TIM2). Each
consists of a 16-bit programmable counter driven by a 7-stage
programmable prescaler. Each of the four timer channels can be
configured for input capture or output. Additionally, one of the channels,
channel 3, can be configured as a pulse accumulator.
A timer overflow function allows software to extend the timing capability
of the system beyond the 16-bit range of the counter. The input capture
and output compare functions allow simultaneous input waveform
measurements and output waveform generation. The input capture
function can capture the time of a selected transition edge. The output
compare function can generate output waveforms and timer software
delays. The 16-bit pulse accumulator can operate as a simple event
counter or a gated time accumulator. The pulse accumulator shares
timer channel 3 when in event mode.
15.3 Features
Features of the timer include:
• Four 16-bit input capture/output compare channels
• 16-bit architecture
• Programmable prescaler
• Pulse widths variable from microseconds to seconds
• Single 16-bit pulse accumulator
• Toggle-on-overflow feature for pulse-width modulator (PWM)
generation
• Option for enabling timer port pullups on reset
MMC2107 – Rev. 2.0
MOTOROLA
Timer Modules (TIM1 and TIM2)
For More Information On This Product,
Go to: www.freescale.com
Technical Data
295