English
Language : 

MC68HC05C8A Datasheet, PDF (59/158 Pages) Motorola, Inc – Microcontrollers
Technical Data — MC68HC05C8A • MC68HCL05C8A • MC68HSC05C8A
Section 8. Timer
8.1 Contents
8.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
8.3 Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
8.4 Output Compare Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
8.5 Input Capture Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
8.6 Timer Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
8.7 Timer Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
8.8 Timer During Wait Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
8.9 Timer During Stop Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
8.2 Introduction
The timer consists of a 16-bit, software-programmable 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. Refer to Figure 8-1 for a
timer block diagram.
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 byte of that functional segment. Generally,
accessing the low byte of a specific timer function allows full control of
that function; however, an access of the high byte inhibits that specific
timer function until the low byte is also accessed.
MC68HC05C8A • MC68HCL05C8A • MC68HSC05C8A — Rev. 5.0
MOTOROLA
Timer
Technical Data
59