Freescale Semiconductor
MC9S12C-Family / MC9S12GC-Family
435
Rev 01.24
Chapter 15
Timer Module (TIM16B8CV1) Block Description
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 8 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 TIM16B8CV1 includes these distinctive features:
•
Eight input capture/output compare channels.
•
Clock prescaling.
•
16-bit counter.
•
16-bit pulse accumulator.
Table 15-1. Revision History
Version
Number
Revision Dates
Effective
Date
Author
Description of Changes
01.03
06 Feb 2006
06 Feb 2006
S. Chinnam
Corrected the type at 0x006 and later in the document
from TSCR2 and TSCR1
01.04
08 July 2008
08 July 2008
S. Chinnam
Revised flag clearing procedure, whereby TEN bit must be
set when clearing flags.
01.05
05 May 2010
05 May 2010
Ame Wang
-in
-in
,TCRE bit description part,add Note
-in
Summary of Contents for MC9S12C Family
Page 689: ......