English
Language : 

MC68HC05P9A Datasheet, PDF (76/158 Pages) Freescale Semiconductor, Inc – HCMOS Microcontroller Unit
Parallel I/O Ports
Freescale Semiconductor, Inc.
Port D
Port D is a 2-bit port with one I/O pin and one input-only pin. Port D
shares the input-only pin, PD7/TCAP, with the capture/compare timer.
PD7/TCAP is the timer input capture pin. The PD7/TCAP pin can always
be a general-purpose input, even if input capture interrupts are enabled.
Port D Data
Register (PORTD)
The port D data register contains a latch for each of the two port D pins.
$0003 Bit 7
6
Read: PD7
0
Write:
Reset:
Alternate
Function:
TCAP
5
4
3
2
1
0
0
PD5
Unaffected by reset
1
Bit 0
0
0
= Unimplemented
Figure 38. Port D Data Register (PORTD)
PD7 and PD5 — Port D Data Bits
These read/write bits are software programmable. Data direction of
each port D pin is under the control of the corresponding bit in data
direction register D. Reset has no effect on port D data.
TCAP — Timer Capture
TCAP is the input capture pin for the timer.
16-mc68hc05p9a
76
Parallel I/O Ports
MOTOROLA
For More Information On This Product,
Go to: www.freescale.com