C28 General-Purpose Input/Output (GPIO)
455
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
General-Purpose Input/Output (GPIO)
4.2.7.47 GPIO Port C Set, Clear and Toggle (GPCSET, GPCCLEAR, GPCTOGGLE) Registers
The GPIO Port C Set, Clear and Toggle (GPCSET, GPCCLEAR, GPCTOGGLE) registers are shown and
described in the figure and table below.
Figure 4-88. GPIO Port C Set, Clear and Toggle (GPCSET, GPCCLEAR, GPCTOGGLE) Registers
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-101. GPIO Port C Set (GPCSET) Register Field Descriptions
Bits
Field
Valu
e
Description
31-0
GPIO95-GPIO64
Each GPIO port C pin (GPIO95-GPIO64) corresponds to one bit in this register.
0
Writes of 0 are ignored. This register always reads back a 0.
1
Writing a 1 forces the respective output data latch to high. If the pin is configured as a GPIO
output then it will be driven high. If the pin is not configured as a GPIO output then the latch is
set but the pin is not driven.
Table 4-102. GPIO Port C Clear (GPCCLEAR) Register Field Descriptions
Bits
Field
Value
Description
31-0
GPIO95 -GPIO64
Each GPIO port C pin (GPIO95-GPIO64) corresponds to one bit in this register.
0
Writes of 0 are ignored. This register always reads back a 0.
1
Writing a 1 forces the respective output data latch to low. If the pin is configured as a GPIO
output, then it will be driven low. If the pin is not configured as a GPIO output then the latch is
cleared but the pin is not driven.
Table 4-103. GPIO Port C Toggle (GPCTOGGLE) Register Field Descriptions
Bits
Field
Value
Description
31-0
GPIO95 -GPIO64
Each GPIO port C pin (GPIO95-GPIO64) corresponds to one bit in this register.
0
Writes of 0 are ignored. This register always reads back a 0.
1
Writing a 1 forces the respective output data latch to toggle from its current state. If the pin is
configured as a GPIO output then it will be driven in the opposite direction of its current state. If
the pin is not configured as a GPIO output then the latch is cleared but the pin is not driven.