C28 General-Purpose Input/Output (GPIO)
448
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
General-Purpose Input/Output (GPIO)
4.2.7.40 GPIO Port C Data (GPCDAT) Register
The GPIO Port C Data (GPCDAT) register is shown and described in the figure and table below.
Figure 4-81. GPIO Port C Data (GPCDAT) Register
31
30
29
28
27
26
25
24
GPIO95
GPIO94
GPIO93
GPIO92
GPIO91
GPIO90
GPIO89
GPIO88
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
23
22
21
20
19
18
17
16
GPIO87
GPIO86
GPIO85
GPIO84
GPIO83
GPIO82
GPIO81
GPIO80
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
15
14
13
12
11
10
9
8
GPIO79
GPIO78
GPIO77
GPIO76
GPIO75
GPIO74
GPIO73
GPIO72
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
7
6
5
4
3
2
1
0
GPIO71
GPIO70
GPIO69
GPIO68
GPIO67
GPIO66
GPIO65
GPIO64
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
R/W-x
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 4-90. GPIO Port C Data (GPCDAT) Register Field Descriptions
Bit
Field
Value
Description
31-0
GPIO95-GPIO64
Each bit corresponds to one GPIO port C pin (GPIO64-GPIO95)
0
Reading a 0 indicates that the state of the pin is currently low, irrespective of the mode for which
the pin is configured.
Writing a 0 will force an output of 0 if the pin is configured as a GPIO output in the appropriate
GPCMUX1/2 and GPCDIR registers; otherwise, the value is latched but not used to drive the pin.
1
Reading a 1 indicates that the state of the pin is currently high irrespective of the mode for which
the pin is configured.
Writing a 1 will force an output of 1 if the pin is configured as a GPIO output in the GPCMUX1
and GPCDIR registers; otherwise, the value is latched but not used to drive the pin.