MC68HC705C8ACS Motorola, MC68HC705C8ACS Datasheet - Page 93

no-image

MC68HC705C8ACS

Manufacturer Part Number
MC68HC705C8ACS
Description
HCMOS 8-bit microcontroller unit
Manufacturer
Motorola
Datasheet

Specifications of MC68HC705C8ACS

Case
DIP-40L
8.3.2 Output Compare
The output compare function can generate an output signal when the
16-bit counter reaches a selected value. Software writes the selected
value into the output compare registers. On every fourth internal clock
cycle the output compare circuitry compares the value of the counter to
the value written in the output compare registers. When a match occurs,
the timer transfers the programmable output level bit (OLVL) from the
timer control register to the output compare pin (TCMP).
Software can use the output compare register to measure time periods,
to generate timing delays, or to generate a pulse of specific duration or
a pulse train of specific frequency and duty cycle on the TCMP pin.
Figure 8-4
15
COUNTER HIGH BYTE
15
OUTPUT COMPARE REGISTER HIGH
$0016
TIMER STATUS REGISTER
MC68HC705C8A — Rev. 3
MOTOROLA
shows the logic of the output compare function.
COUNTER LOW BYTE
16-BIT COMPARATOR
8
7
OUTPUT COMPARE REGISTER LOW
$0017
$0012
Figure 8-4. Output Compare Operation
Capture/Compare Timer
Capture/Compare Timer
Timer Operation
0
PIN
CONTROL
TCMP
LOGIC
0
TIMER
INTERRUPT
REQUEST
TIMER STATUS REGISTER
$0013
Technical Data
93

Related parts for MC68HC705C8ACS