C28 General-Purpose Input/Output (GPIO)
387
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
General-Purpose Input/Output (GPIO)
4.2.4 Digital General Purpose I/O Control
For pins that are configured as GPIO you can change the values on the pins by using the registers in
.
Table 4-38. GPIO Data Registers
Name
Address
Size (x16)
Register Description
GPEDIR
0x5F0A
2
GPIO E Direction Register
(GPIO128 to 135)
GPEDAT
0x5F40
2
GPIO E Data Register
(GPIO128 to 135)
GPESET
0x5F42
2
GPIO E Data Set Register
(GPIO128 to 135)
GPECLEAR
0x5F44
2
GPIO E Data Clear Register
(GPIO128 to 135)
GPETOGGLE
0x5F46
2
GPIO E Data Toggle Register
(GPIO128 to 135)
GPADAT
0x5FC0
4
GPIO A Data Register (GPIO0
- GPIO31)
GPASET
0x5FC2
4
GPIO A Set Register (GPIO0 -
GPIO31)
GPACLEAR
0x5FC4
4
GPIO A Clear Register (GPIO0
- GPIO31)
GPATOGGLE
0x5FC6
4
GPIO A Toggle Register
(GPIO0 - GPIO31)
GPBDAT
0x5FC8
4
GPIO B Data Register
(GPIO32 - GPIO63)
GPBSET
0x5FCA
4
GPIO B Set Register (GPIO32
- GPIO63)
GPBCLEAR
0x5FCC
4
GPIO B Clear Register
(GPIO32 - GPIO63)
GPBTOGGLE
0x5FCE
4
GPIO B Toggle Register
(GPIO32 - GPIO63)
GPCDAT
0x5FD0
4
GPIO C Data Register
(GPIO68 - GPIO71)
GPCSET
0x5FD2
4
GPIO C Set Register (GPIO68
- GPIO71)
GPCCLEAR
0x5FD4
4
GPIO C Clear Register
(GPIO68 - GPIO71)
GPCTOGGLE
0x5FD6
4
GPIO C Toggle Register
(GPIO68 - GPIO71)
GPDDAT
0x5FD8
2
GPIO D Data Register
(GPIO96 to 127)
GPDSET
0x5FDA
2
GPIO D Data Set Register
(GPIO96 to 127)
GPDCLEAR
0x5FDC
2
GPIO D Data Clear Register
(GPIO96 to 127)
GPDTOGGLE
0x5FDE
2
GPIO D Data Toggle Register
(GPIO96 to 127)
GPGDAT
0x6FC0
4
GPIO G Data Register
(GPIO192 - GPIO199)
GPGSET
0x6FC2
4
GPIO G Set Register
(GPIO192 - GPIO199)
GPGCLEAR
0x6FC4
4
GPIO G Clear Register
(GPIO192 - GPIO199)
GPGTOGGLE
0x6FC6
4
GPIO G Toggle Register
(GPIO192 - GPIO199)
AIODAT
0x6FD8
4
Analog IO Data Register (AIO0
- AIO31)