C28 General-Purpose Input/Output (GPIO)
415
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
General-Purpose Input/Output (GPIO)
4.2.7.27 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-68. GPIO Port C Data (GPCDAT) Register
31
16
Reserved
R-/W-x
15
8
7
6
5
4
3
0
Reserved
GPIO71
GPIO70
GPIO69
GPIO68
Reserved
R/W-x
R/W-0
R/W-0
R/W-0
R/W-0
R-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 4-76. GPIO Port C Data (GPCDAT) Register Field Descriptions
Bit
Field
Value
Description
31-8
Reserved
Any writes to these bit(s) must always have a value of 0.
7-4
GPIO71-GPIO68
Each bit corresponds to one GPIO port C pin (GPIO68-GPIO71)
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.
3-0
Reserved
Any writes to these bit(s) must always have a value of 0.