MC68HC05P1ADW FREESCALE [Freescale Semiconductor, Inc], MC68HC05P1ADW Datasheet - Page 68

no-image

MC68HC05P1ADW

Manufacturer Part Number
MC68HC05P1ADW
Description
General Release Specification
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
16-Bit Timer
8.4 Output Compare
General Release Specification
The output compare function may be used to generate an output
waveform and/or as an elapsed time indicator. All of the bits in the output
compare register pair OCRH/OCRL are readable and writable and are
not altered by the 16-bit timer’s control logic. Reset does not affect the
contents of these registers. If the output compare function is not utilized,
its registers may be used for data storage. See
The contents of the output compare registers are compared with the
contents of the free-running counter once every four PH2 clock cycles.
If a match is found, the output compare flag bit (OCF) is set and the
output level bit (OLVL) is clocked to the output latch. After each
successful comparison, the values in the output compare registers and
output level bit should be changed to control an output waveform or to
establish a new elapsed timeout. An interrupt also can accompany a
successful output compare if the output compare interrupt enable bit
(OCIE) is set.
OCRH
Reset:
Reset:
OCRL
Read: OCRH7
Write:
Read:
Write:
Freescale Semiconductor, Inc.
For More Information On This Product,
Figure 8-6. Output Compare Registers (OCRH/OCRL)
OCRL7
$0016
$0017
Bit 7
Bit 7
Go to: www.freescale.com
= Unimplemented
= Unimplemented
OCRH6
OCRL6
6
6
16-Bit Timer
OCRH5
OCRL5
5
5
Unaffected by Reset
Unaffected by Reset
OCRH4
OCRL4
4
4
OCRH3
OCRL3
3
3
Figure
OCRH2
OCRL2
MC68HC05P1A
2
2
8-2.
OCRH1
OCRL1
1
1
Rev. 3.0
OCRH0
OCRL0
Bit 0
Bit 0

Related parts for MC68HC05P1ADW