C28 General-Purpose Input/Output (GPIO)
443
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
General-Purpose Input/Output (GPIO)
Figure 4-73. GPIO Port C Direction (GPCDIR) Register
31
30
29
28
27
26
25
24
GPIO95
GPIO94
GPIO93
GPIO92
GPIO91
GPIO90
GPIO89
GPIO88
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
23
22
21
20
19
18
17
16
GPIO87
GPIO86
GPIO85
GPIO84
GPIO83
GPIO82
GPIO81
GPIO80
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
15
14
13
12
11
10
9
8
GPIO79
GPIO78
GPIO77
GPIO76
GPIO75
GPIO74
GPIO73
GPIO72
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
7
6
5
4
3
2
1
0
GPIO71
GPIO70
GPIO69
GPIO68
GPIO67
GPIO66
GPIO65
GPIO64
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
Table 4-82. GPIO Port C Direction (GPCDIR) Register Field Descriptions
Bit
Field
Value
Description
31
GPIO95-GPIO64
Controls direction of pin when GPIO mode is selected.
0
Configures the pin as input
1
Configures the pin as output
Reading the register returns the current value of the register setting.
4.2.7.33 GPIO Port D Direction (GPDDIR) Register
The GPIO Port D Direction (GPDDIR) register is shown and described in the figure and table below.
Figure 4-74. GPIO Port D Direction (GPDDIR) Register
31
30
29
28
27
26
25
24
GPIO127
GPIO126
GPIO125
GPIO124
GPIO123
GPIO122
GPIO121
GPIO120
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
23
22
21
20
19
18
17
16
GPIO119
GPIO118
GPIO117
GPIO116
GPIO115
GPIO114
GPIO113
GPIO112
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
15
14
13
12
11
10
9
8
GPIO111
GPIO110
GPIO109
GPIO108
GPIO107
GPIO106
GPIO105
GPIO104
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
7
6
5
4
3
2
1
0
GPIO103
GPIO102
GPIO101
GPIO100
GPIO99
GPIO98
GPIO97
GPIO96
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-83. GPIO Port D Direction (GPDDIR) Register Field Descriptions
Bits
Field
Value
Description
(1)
31-0
GPIO127-GPIO96
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