English
Language : 

S9S12G128F0CLF Datasheet, PDF (627/1158 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual
Chapter 20
Timer Module (TIM16B8CV3)
Table 20-1.
V03.00
V03.01
V03.02
Jan. 28, 2009
Initial version
Aug. 26, 2009
20.1.2/20-628 - Correct typo: TSCR ->TSCR1;
Figure 20-4./20- - Correct typo: ECTxxx->TIMxxx
631
- Correct reference: Figure 20-25 -> Figure 20-30
20.3.2.15/20-64 - Add description, “a counter overflow when TTOV[7] is set”, to be the
4
condition of channel 7 override event.
20.3.2.2/20-634, - Phrase the description of OC7M to make it more explicit
20.3.2.3/20-635,
20.3.2.4/20-635,
20.4.3/20-651
Apri,12,2010
20.3.2.8/20-638 -Add Table 20-10
20.3.2.11/20-64 -update TCRE bit description
1
-add Figure 20-31
20.4.3/20-651
20.1 Introduction
The basic scalable timer consists of a 16-bit, software-programmable counter driven by a flexible
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 could contain up to 8 (0....7) input capture/output compare channels with one pulse accumulator
available only on channel 7. 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 the channel is available and 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.
20.1.1 Features
The TIM16B8CV3 includes these distinctive features:
• Up to 8 channels available. (refer to device specification for exact number)
• All channels have same input capture/output compare functionality.
MC9S12G Family Reference Manual, Rev.1.10
Freescale Semiconductor
627