English
Language : 

MC908JB16DWE Datasheet, PDF (272/332 Pages) Freescale Semiconductor, Inc – Microcontrollers
Input/Output (I/O) Ports
14.5 Port D
Port D is an 6-bit general-purpose bidirectional I/O port. These pins are
open-drain when configured as output.
14.5.1 Port D Data Register
The port D data register contains a data latch for each of the six
port D pins.
NOTE: Bits 5–1 of PTD are not available in the 32-pin low-profile quad flat pack.
Address: $0003
Bit 7
6
5
4
3
2
1
Read: 0
Write:
0
PTD5 PTD4 PTD3 PTD2 PTD1
Reset:
Additional
Function:
10 mA
sink
Unaffected by reset
10 mA
sink
10 mA
sink
10 mA
sink
25 mA
sink
Figure 14-8. Port D Data Register (PTD)
Bit 0
PTD0
25 mA
sink
PTD[5:0] — Port D Data Bits
These read/write bits are software programmable. Data direction of
each port D pin is under control of the corresponding bit in data
direction register D. Reset has no effect on port D data.
The LED direct drive bit, PTDLDD, in the port option control register
(POCR) controls the drive options for PTD5–PTD2 pins. The infrared
LED drive bit, PTDILDD, in the POCR controls the drive options for
PTD1–PTD0 pins. (See 14.7 Port Options.)
Technical Data
272
Input/Output (I/O) Ports
MC68HC908JB16 — Rev. 1.1
Freescale Semiconductor