mc68hc705p6a Freescale Semiconductor, Inc, mc68hc705p6a Datasheet - Page 50

no-image

mc68hc705p6a

Manufacturer Part Number
mc68hc705p6a
Description
M68hc05 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc705p6aCDW
Manufacturer:
LT
Quantity:
1 200
Part Number:
mc68hc705p6aCDW
Manufacturer:
MOT
Quantity:
5 510
Part Number:
mc68hc705p6aCDW
Manufacturer:
FREESCALE(MOT)
Quantity:
12
Part Number:
mc68hc705p6aCDW
Manufacturer:
FREESCALE(MOT)
Quantity:
10 967
Part Number:
mc68hc705p6aCDW
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
mc68hc705p6aCDWE
Manufacturer:
FREESCALE
Quantity:
1 143
Part Number:
mc68hc705p6aCP
Manufacturer:
FREESCAL
Quantity:
26
Part Number:
mc68hc705p6aCPE
Manufacturer:
MOLEX
Quantity:
1 560
Capture/Compare Timer
8.3.5 Input Capture Registers
When a selected edge occurs on the TCAP pin, the current high and low bytes of the 16-bit counter are
latched into the input capture registers. Reading ICRH before reading ICRL inhibits further capture until
ICRL is read. Reading ICRL after reading the status register clears the input capture flag (ICF). Writing to
the input capture registers has no effect.
8.3.6 Output Compare Registers
When the value of the 16-bit counter matches the value in the output compare registers, the planned
TCMP pin action takes place. Writing to OCRH before writing to OCRL inhibits timer compares until OCRL
is written. Reading or writing to OCRL after the timer status register clears the output compare flag (OCF).
50
Address:
Address:
Address:
Address:
To prevent interrupts from occurring between readings of ICRH and ICRL,
set the interrupt flag in the condition code register before reading ICRH, and
clear the flag after reading ICRL.
Read:
Read:
Read:
Write:
Write:
Write:
Figure 8-7. Output Compare Registers (OCRH and OCRL)
ICRH — $0014
ICRL — $0015
OCRH — $0016
OCRL — $0017
OCRH7
ICRH7
Figure 8-6. Input Capture Registers (ICRH and ICRL)
Bit 7
Bit 7
Bit 7
Bit 7
MC68HC705P6A Advance Information Data Sheet, Rev. 2.1
= Unimplemented
OCRH6
ICRH6
6
6
6
6
OCRH5
ICRH5
5
5
5
5
NOTE
OCRH4
ICRH4
Unaffected by reset
Unaffected by reset
Unaffected by reset
Unaffected by reset
4
4
4
4
OCRH3
ICRH3
3
3
3
3
OCRH2
ICRH2
2
2
2
2
OCRH1
ICRH1
1
1
1
1
Freescale Semiconductor
OCRH0
ICRH0
Bit 0
Bit 0
Bit 0
Bit 0

Related parts for mc68hc705p6a