C28 General-Purpose Input/Output (GPIO)
384
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
General-Purpose Input/Output (GPIO)
4.2.3 Configuration Overview
The pin function assignments, input qualification, and the external interrupt sources are all controlled by
the GPIO configuration control registers. In addition, you can assign pins to wake the device from the
HALT and STANDBY low power modes and enable/disable internal pullup resistors.
and
list the registers that are used to configure the GPIO pins to match the system requirements.
(1)
An X in a table cell indicates the bit can be 0 or 1.
Table 4-36. GPIO Control Registers
Name
(1)
Address
Size (x16)
Register Description
GPECTRL
0x5F00
2
GPIO E Control Register (GPIO128 to 135)
GPEQSEL1
0x5F02
2
GPIO E Qualifier Select 1 Register (GPIO128 to
135)
GPEMUX1
0x5F06
2
GPIO E Mux 1 Register (GPIO128 to 135)
GPACTRL
0x5F80
2
GPIO A Control Register (GPIO0 - GPIO31)
GPAQSEL1
0x5F82
2
GPIO A Qualifier Select 1 Register (GPIO0 -
GPIO15)
GPAQSEL2
0x5F84
2
GPIO A Qualifier Select 2 Register (GPIO16 -
GPIO31)
GPAMUX1
0x5F86
2
GPIO A MUX 1 Register (GPIO0 - GPIO15)
GPAMUX2
0x5F88
2
GPIO A MUX 2 Register (GPIO16 - GPIO31)
GPADIR
0x5F8A
2
GPIO A Direction Register (GPIO0 - GPIO31)
GPBCTRL
0x5F90
2
GPIO B Control Register (GPIO32 - GPIO63)
GPBQSEL1
0x5F92
2
GPIO B Qualifier Select 1 Register (GPIO32 -
GPIO47)
GPBQSEL2
0x5F94
2
GPIO B Qualifier Select 2 Register (GPIO48 -
GPIO63)
GPBMUX1
0x5F96
2
GPIO B MUX 1 Register (GPIO32 - GPIO47)
GPBMUX2
0x5F98
2
GPIO B MUX 2 Register (GPIO48 - GPIO63)
GPBDIR
0x5F9A
2
GPIO B Direction Register (GPIO32 - GPIO63)
GPCCTRL
0x5FA0
2
GPIO C Control Register (GPIO64 - GPIO95)
GPCQSEL1
0x5FA2
2
GPIO C Qualifier Select 1 Register (GPIO64 -
GPIO79)
GPCQSEL2
0x5FA4
2
GPIO C Qualifier Select 2 Register (GPIO80 - 95)
GPCMUX1
0x5FA6
2
GPIO C MUX 1 Register (GPIO64 - GPIO79)
GPCMUX2
0x5FA8
2
GPIO C Mux 2 Register (GPIO80 to 95)
GPCDIR
0x5FAA
2
GPIO C Direction Register (GPIO64 - GPIO95)
GPDCTRL
0x5FB0
2
GPIO D Control Register (GPIO96 to 127)
GPDQSEL1
0x5FB2
2
GPIO D Qualifier Select 1 Register (GPIO96 to
111)
GPDQSEL2
0x5FB4
2
GPIO D Qualifier Select 2 Register (GPIO112 to
127)
GPDMUX1
0x5FB6
2
GPIO D Mux 1 Register (GPIO96 to 111)
GPDMUX2
0x5FB8
2
GPIO D Mux 2 Register (GPIO112 to 127)
GPDDIR
0x5FBA
2
GPIO D Direction Register (GPIO96 to 127)
GPDDAT
0x5FD8
4
GPIO D Data Register (GPIO96 to 127)
GPDSET
0x5FDA
4
GPIO D Data Set Register (GPIO96 to 127)
GPDCLEAR
0x5FDC
4
GPIO D Data Clear Register (GPIO96 to 127)
GPDTOGGLE
0x5FDE
4
GPIO D Data Toggle Register (GPIO96 to 127)
GPGCTRL
0x6F80
2
GPIO G Control Register (GPIO128 - GPIO135)
GPGQSEL1
0x6F82
2
GPIO G Qualifier Select 1 Register (GPIO192 -
GPIO199)
GPGMUX1
0x6F86
2
GPIO G MUX 1 Register (GPIO192 - GPIO199)
GPGDIR
0x6F8A
2
GPIO G Direction Register (GPIO192 - GPIO199)