English
Language : 

MC68HC705P9 Datasheet, PDF (82/156 Pages) Motorola, Inc – HCMOS Microcontroller Unit 
Parallel I/O Ports Port D
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:
0
PD7
Write:
Reset:
Alternate
Function:
TCAP
5
4
3
2
1
0
0
PD5
Unaffected by reset
1
Bit 0
0
0
= Unimplemented
Figure 11. 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.
12-mc68hc705p9
82
Parallel I/O Ports
MOTOROLA