S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
Freescale Semiconductor
295
Chapter 8
Timer Module (TIM16B8CV3) Block Description
8.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.
8.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.
Table 8-1. Revision History
V03.00
Jan. 28, 2009
Initial version
V03.01
Aug. 26, 2009
- Correct typo: TSCR ->TSCR1;
- Correct typo: ECTxxx->TIMxxx
- Correct reference:
- Add description, “a counter overflow when TTOV[7] is set”, to be the
condition of channel 7 override event.
- Phrase the description of OC7M to make it more explicit
V03.02
Apri,12,2010
-update TCRE bit description
-add
V03.03
Jan,14,2013
-single source generate different channel guide