MC68HC05P9ACDW FREESCALE [Freescale Semiconductor, Inc], MC68HC05P9ACDW Datasheet - Page 90

no-image

MC68HC05P9ACDW

Manufacturer Part Number
MC68HC05P9ACDW
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Timer
Output Compare
90
The output compare function is a means of generating 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 TCMP pin.
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 45
Freescale Semiconductor, Inc.
For More Information On This Product,
shows the logic of the output compare function.
OCRH ($0016)
TCAP
Go to: www.freescale.com
Figure 45. Output Compare Operation
16-BIT COMPARATOR
Figure 44. Input Capture Operation
16-BIT COUNTER
SELECT/
DETECT
LOGIC
IEDG
EDGE
Timer
ICIE
OCRL ($0017)
ICF
ICRH
TRH
OCF
OCIE
INTERRUPT
REQUEST
TIMER
CONTROL
LOGIC
OLVL
PIN
ICRL
TRL
TCMP
INTERRUPT
REQUEST
TIMER
MOTOROLA
10-tim1ic1oc_a

Related parts for MC68HC05P9ACDW