English
Language : 

MC9S12Q128_10 Datasheet, PDF (431/644 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
Chapter 15
Timer Module (TIM16B6C)
Version
Number
01.01
01.02
Table 15-1. TIM_16B4C Revision History
Effective
Date
Description of Changes
Feb 06, 2006 Corrected typo for TSCR1 (instead was named TSCR2)
May 21, 2010 -in 15.3.2.8/15-440,add Table 15-10
-in 15.3.2.11/15-443,TCRE bit description part,add Note
-in 15.4.3/15-451,add Figure 15-29
15.1 Introduction
The basic timer consists of a 16-bit, software-programmable counter driven by a seven-stage
programmable prescaler.
This timer can be used for many purposes, including input waveform measurements while simultaneously
generating an output waveform. Pulse widths can vary from microseconds to many seconds.
This timer contains 6 complete input capture/output compare channels and one pulse accumulator. The
input capture function is used to detect a selected transition edge and record the time. The output compare
function is used for generating output signals or for timer software delays. The 16-bit pulse accumulator
is used to operate as a simple event counter or a gated time accumulator. The pulse accumulator shares
timer channel 7 when in event mode.
A full access for the counter registers or the input capture/output compare registers should take place in
one clock cycle. Accessing high byte and low byte separately for all of these registers may not yield the
same result as accessing them in one word.
15.1.1 Features
The TIM16B6C includes these distinctive features:
• Six input capture/output compare channels.
• Clock prescaling.
• 16-bit counter.
• 16-bit pulse accumulator.
15.1.2 Modes of Operation
Stop: Timer is off because clocks are stopped.
Freescale Semiconductor
MC9S12Q128
431
Rev 1.10