English
Language : 

MC68HC05V12 Datasheet, PDF (93/246 Pages) Freescale Semiconductor, Inc – HCMOS Microcontreller Unit
Freescale Semiconductor, Inc.
Technical Data — MC68HC05V12
Section 9. 16-Bit Timer
9.1 Contents
9.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
9.3 Timer Counter Registers $18−$19 and $1A−$1B. . . . . . . . . . .94
9.4 Output Compare Register $16−$17 . . . . . . . . . . . . . . . . . . . . .95
9.5 Input Capture Register $14−$15. . . . . . . . . . . . . . . . . . . . . . . .96
9.6 16-Bit Timer Control Register . . . . . . . . . . . . . . . . . . . . . . . . . .98
9.7 16-Bit Timer Status Register. . . . . . . . . . . . . . . . . . . . . . . . . . .99
9.8 16-Bit Timer during Wait Mode . . . . . . . . . . . . . . . . . . . . . . . .100
9.9 16-Bit Timer during Stop Mode. . . . . . . . . . . . . . . . . . . . . . . .100
9.2 Introduction
The timer consists of a 16-bit, free-running counter driven by a fixed
divide-by-four prescaler. This timer can be used for many purposes,
including input waveform measurements while simultaneously
generating an output waveform. Pulse widths can vary from several
microseconds to many seconds. See Figure 9-1.
Because the timer has a 16-bit architecture, each specific functional
segment (capability) is represented by two registers. These registers
contain the high and low bytes of that functional segment. Access of the
high byte inhibits that specific timer function until the low byte is also
accessed.
NOTE:
The I bit in the condition code register (CCR) should be set while
manipulating both the high and low byte registers of a specific timer
function to ensure that an interrupt does not occur.
MC68HC05V12 — Rev. 2.0
16-Bit Timer
For More Information On This Product,
Go to: www.freescale.com
Technical Data