English
Language : 

MC68HC05P18 Datasheet, PDF (90/144 Pages) Freescale Semiconductor, Inc – Advance Information
16-Bit Timer
Freescale Semiconductor, Inc.
PH2
CLOCK
INTERNAL
RESET
16-BIT
FREE-RUNNING
COUNTER
$FFFC
$FFFD
RESET
(EXTERNAL
OR OTHER)
NOTE: The counter and control registers are the only 16-bit timer registers affected by reset.
$FFFE
Figure 10-5. State Timing Diagram for Timer Reset
$FFFF
10.4 Output Compare
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 can be used for data storage. See Figure 10-6.
Register name and address: OCRH — $0016
Bit 7
6
5
4
3
Read: OCRH7 OCRH6 OCRH5 OCRH4 OCRH3
Write:
Reset:
Unaffected by reset
2
OCRH2
1
OCRH1
Bit 0
OCRH0
Register name and address: OCRL — $0017
Bit 7
6
5
4
3
2
1
Bit 0
Read: OCRL7 OCRL6 OCRL5 OCRL4 OCRL3 OCRL2 OCRL1 OCRL0
Write:
Reset:
Unaffected by reset
= Unimplemented
Figure 10-6. Output Compare Registers (OCRH/OCRL)
Advance Information
90
MC68HC(8)05P18 — Rev. 2.0
16-Bit Timer
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA