XC886/888CLM
Parallel Ports
User’s Manual
6-8
V1.3, 2010-02
Parallel Ports, V 1.0
6.1.1.3
Open Drain Control Register
Each pin in output mode can be switched to open drain mode. If driven with 1, no driver
will be activated and the pin output state depends on the internal pull-up/pull-down
device setting. If driven with 0, the driver’s pull-down transistor will be activated.
The open drain mode is controlled by the register Px_OD.
6.1.1.4
Pull-Up/Pull-Down Device Register
Internal pull-up/pull-down devices can be optionally applied to a port pin. This offers the
possibility of configuring the following input characteristics:
•
tristate
•
high-impedance with a weak pull-up device
•
high-impedance with a weak pull-down device
and the following output characteristics:
•
push/pull (optional pull-up/pull-down)
•
open drain with internal pull-up
•
open drain with external pull-up
The pull-up/pull-down device can be fixed or controlled via the registers Px_PUDSEL
and Px_PUDEN. Register Px_PUDSEL selects the type of pull-up/pull-down device,
while register Px_PUDEN enables or disables it. The pull-up/pull-down device can be
selected pinwise.
Px_OD
Port x Open Drain Control Register
7
6
5
4
3
2
1
0
P7
P6
P5
P4
P3
P2
P1
P0
rw
rw
rw
rw
rw
rw
rw
rw
Field
Bits
Type Description
Pn
(n = 0 – 7)
n
rw
Port x Pin n Open Drain Mode
0
Normal mode; output is actively driven for 0 and
1 states
1
Open drain mode; output is actively driven only
for 0 state
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...