English
Language : 

MC68HC08JK1 Datasheet, PDF (145/198 Pages) Motorola, Inc – HCMOS Microcontroller Unit
12.5 Port D
Freescale Semiconductor, Inc.
I/O Ports
Port D
Port D is an 8-bit special function port that shares two of its pins with
Timer Interface Module, (see Section 10.) and shares four of its pins
with Analog to Digital Conversion Module (see Section 11.). PTD6 and
PTD7 each has high current drive (25mA sink) and programmable pull-
up. PTD2, PTD3, PTD6 and PTD7 each has LED driving capability.
12.5.1 Port D Data Register (PTD)
The port D data register contains a data latch for each of the eight port D
pins.
Address: $0003
Bit 7
6
5
4
3
2
Read:
PTD7
Write:
PTD6
PTD5
PTD4
PTD3
PTD2
Reset:
Additional Functions LED
LED
LED
LED
ADC8 ADC9
TCH1 TCH0
25mA sink 25mA sink
(Slow Edge) (Slow Edge)
5k pull-up 5k pull-up
Figure 12-9. Port D Data Register (PTD)
1
Bit 0
PTD1 PTD0
ADC10 ADC11
PTD[7:0] — 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.
MC68H(R)C08JL3 — Rev. 4
MOTOROLA
I/O Ports
For More Information On This Product,
Go to: www.freescale.com
Technical Data
145