C28 General-Purpose Input/Output (GPIO)
444
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
General-Purpose Input/Output (GPIO)
4.2.7.34 GPIO Port E Direction (GPEDIR) Register
The GPIO Port E Direction (GPEDIR) registeris shown and described in the figure and table below.
Figure 4-75. GPIO Port G Direction (GPEDIR) Register
31
16
Reserved
R-0
15
8
Reserved
R-0
7
6
5
4
3
2
1
0
GPIO135
GPIO134
GPIO133
GPIO132
GPIO131
GPIO130
GPIO129
GPIO128
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
(1)
This register is EALLOW protected.
Table 4-84. GPIO Port E Direction (GPEDIR) Register Field Descriptions
Bits
Field
Value
Description
(1)
31-8
Reserved
Any writes to these bit(s) must always have a value of 0.
7-0
GPIO135-GPIO128
Controls direction of GPIO pin when GPIO mode is selected. Reading the register returns the
current value of the register setting
0
Configures the GPIO pin as an input. (default)
1
Configures the GPIO pin as an output
4.2.7.35 GPIO Port G Direction (GPGDIR) Register
The GPIO Port G Direction (GPGDIR) register is shown and described in the figure and table below.
Figure 4-76. GPIO Port G Direction (GPGDIR) Register
31
16
Reserved
R-0
15
8
Reserved
R-0
7
6
5
4
3
2
1
0
GPIO199
GPIO198
GPIO197
GPIO196
GPIO195
GPIO194
GPIO193
GPIO192
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
(1)
This register is EALLOW protected.
Table 4-85. GPIO Port G Direction (GPGDIR) Register Field Descriptions
Bits
Field
Value
Description
(1)
31-8
Reserved
Any writes to these bit(s) must always have a value of 0.
7-0
GPIO192-GPIO199
Controls direction of GPIO pin when GPIO mode is selected. Reading the register returns the
current value of the register setting
0
Configures the GPIO pin as an input. (default)
1
Configures the GPIO pin as an output
4.2.7.36 GPIO Port G Pullup Disable (GPGPUD) Register
The GPIO Port G Pullup Disable (GPGPUD) register is shown and described in the figure and table below.