English
Language : 

S9S12G64F0CLF Datasheet, PDF (749/1292 Pages) Freescale Semiconductor, Inc – Reference Manual and Data Sheet
Chapter 23
Timer Module (TIM16B8CV3)
Table 23-1.
V03.00
V03.01
V03.02
V03.03
Jan. 28, 2009
Initial version
Aug. 26, 2009
23.1.2/23-752 - Correct typo: TSCR ->TSCR1;
Figure 23-4./23- - Correct typo: ECTxxx->TIMxxx
755
- Correct reference: Figure 23-25 -> Figure 23-30
23.3.2.15/23-76 - Add description, “a counter overflow when TTOV[7] is set”, to be the
8
condition of channel 7 override event.
23.3.2.2/23-758, - Phrase the description of OC7M to make it more explicit
23.3.2.3/23-758,
23.3.2.4/23-759,
23.4.3/23-774
Apri,12,2010
23.3.2.8/23-762 -Add Table 23-10
23.3.2.11/23-76 -update TCRE bit description
5
-add Figure 23-31
23.4.3/23-774
Jan,14,2013
-single source generate different channel guide
23.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 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.
23.1.1 Features
The TIM16B8CV3 includes these distinctive features:
• Up to 8 channels available. (refer to device specification for exact number)
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor
751