English
Language : 

MC68HC908JG16 Datasheet, PDF (273/324 Pages) Motorola, Inc – Microcontrollers
Input/Output (I/O) Ports
Port Options
14.8.1 Port Option Control Register
The port option control register controls the pullup options for port A,
port B, port C, and port 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 14-17. Port Option Control Register (POCR)
PTE20P — Pins PTE[2:0] Pullup Enable
This read/write bit controls the pullup option for the PTE2–PTE0 pins,
regardless whether the pins are configured as input or output.
1 = Configure PTE2–PTE0 to have internal pullups
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 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 I/O port pins
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 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 I/O port pins
MC68HC908JG16 — Rev. 1.1
Freescale Semiconductor
Input/Output (I/O) Ports
Technical Data
273