C28 General-Purpose Input/Output (GPIO)
421
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
General-Purpose Input/Output (GPIO)
4.2.7.33 GPIO Port E Set, Clear and Toggle (GPESET, GPECLEAR, GPETOGGLE) Registers
The GPIO Port E Set, Clear and Toggle (GPESET, GPECLEAR, GPETOGGLE) registers are shown and
described in the figure and table below.
Figure 4-74. GPIO Port E Set, Clear and Toggle (GPESET, GPECLEAR, GPETOGGLE) Registers
31
24
Reserved
R-0
23
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-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-88. GPIO Port E Set (GPESET) Register Field Descriptions
Bits
Field
Value
Description
31-8
Reserved
Any writes to these bit(s) must always have a value of 0.
7-0
GPIO135 -GPIO128
Each GPIO port E pin (GPIO128-GPIO135) 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-89. GPIO Port E Clear (GPECLEAR) Register Field Descriptions
Bits
Field
Value
Description
31-8
Reserved
Any writes to these bit(s) must always have a value of 0.
7-0
GPIO135 -GPIO128
Each GPIO port E pin (GPIO128-GPIO135) 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-90. GPIO Port E Toggle (GPETOGGLE) Register Field Descriptions
Bits
Field
Value
Description
31-8
Reserved
Any writes to these bit(s) must always have a value of 0.
7-0
GPIO135 -GPIO128
Each GPIO port E pin (GPIO128-GPIO135) 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.