English
Language : 

MC68HC908JB8 Datasheet, PDF (217/286 Pages) Motorola, Inc – MICROCONTROLLERS
Input/Output Ports (I/O)
Port Options
12.8.1 Port Option Control Register
The port option control register controls the pullup options for port A, B,
C, and E pins. It also controls the drive configuration on port D.
Address: $001D
Bit 7
6
5
4
3
2
1
Bit 0
Read:
PTE20P PTDLDD PTDILDD PTE4P PTE3P PCP
PBP
PAP
Write:
Reset: 0
0
0
0
0
0
0
0
Figure 12-17. Port Option Control Register (POCR)
PTE20P — Port PTE2–PTE0 Pullup Enable
This read/write bit controls the pullup option for the PTE2–PTE0 pins,
regardless whether the pins are input or output.
1 = Configure PTE2–PTE0 to have internal pullups to VREG
0 = Disconnect PTE2–PTE0 internal pullups
PTDLDD — LED Direct Drive Control
This read/write bit controls the output current capability of
PTD5–PTD2 pins. When set, each port pin has 10mA current sink
limit. An LED can be connected directly between the port pin and VDD
without the need of a series resistor.
1 = PTD5–PTD2 configured for direct LED drive capability;
when a pin is set as an output, the pin is an open-drain pin with
10mA current sink limit
0 = PTD5–PTD2 configured as standard open-drain I/O port pin
PTDILDD — Infrared LED Drive Control
This read/write bit controls the output current capability of PTD1 and
PTD0 pins. When set, each port pin has 25mA current sink capability.
An infrared LED can be connected directly between the port pin and
VDD.
1 = PTD1 and PTD0 configured for infrared LED drive capability;
when a pin is set as an output, the pin is an open-drain pin with
25mA current sink capability
0 = PTD1 and PTD0 configured as standard open-drain I/O port
pins
MC68HC908JB8•MC68HC08JB8•MC68HC08JT8 — Rev. 2.3
Freescale Semiconductor
Input/Output Ports (I/O)
Technical Data
217