![Texas Instruments SimpleLink Ethernet MSP432E401Y Technical Reference Manual Download Page 1218](http://html1.mh-extra.com/html/texas-instruments/simplelink-ethernet-msp432e401y/simplelink-ethernet-msp432e401y_technical-reference-manual_10955781218.webp)
GPIO Registers
1218
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
General-Purpose Input/Outputs (GPIOs)
17.5.14 GPIOODR Register (Offset = 0x50C) [reset = 0x0]
GPIO Open Drain Select (GPIOODR)
The GPIOODR register is the open drain control register. Setting a bit in this register enables the open-
drain configuration of the corresponding GPIO pad. When open-drain mode is enabled, the corresponding
bit should also be set in the GPIO Digital Enable (GPIODEN) register (see
Corresponding bits in the drive strength and slew rate control registers (GPIODR2R, GPIODR4R,
GPIODR8R, and GPIOSLR) can be set to achieve the desired fall times. The GPIO acts as an input if the
corresponding bit in the GPIODIR register is cleared. If open drain is selected while the GPIO is
configured as an input, the GPIO will remain an input and the open-drain selection has no effect until the
GPIO is changed to an output.
When using the I
2
C module, in addition to configuring the data pin to open drain, the GPIO Alternate
Function Select (GPIOAFSEL) register bits for the I
2
C clock and data pins should be set (see examples in
NOTE:
This register has no effect on port pins PL6 and PL7.
GPIOODR is shown in
and described in
Return to
Figure 17-18. GPIOODR Register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
RESERVED
ODE
R-0x0
R/W-0x0
Table 17-21. GPIOODR Register Field Descriptions
Bit
Field
Type
Reset
Description
31-8
RESERVED
R
0x0
7-0
ODE
R/W
0x0
Output Pad Open Drain Enable
0x0 = The corresponding pin is not configured as open drain.
0x1 = The corresponding pin is configured as open drain.