GPIO Registers
1202
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
General-Purpose Input/Outputs (GPIOs)
NOTE:
If the device fails initialization during reset, the hardware toggles the TDO output as an
indication of failure. Thus, during board layout, designers should not designate the TDO pin
as a GPIO in sensitive applications where the possibility of toggling could affect the design.
The default register type for the GPIOCR register is read-only for all GPIO pins with the exception of the
NMI pin and the four JTAG/SWD pins (see the device-specific data sheet for pin numbers). These six pins
are the only GPIOs that are protected by the GPIOCR register. Because of this, the register type for the
corresponding GPIO Ports is RW.
The default reset value for the GPIOCR register is 0x000000FF for all GPIO pins, with the exception of the
NMI and JTAG/SWD pins (see the device-specific data sheet for pin numbers). To ensure that the JTAG
and NMI pins are not accidentally programmed as GPIO pins, these pins default to noncommittable.
Because of this, the default reset value of GPIOCR changes for the corresponding ports.
lists the memory-mapped registers for the GPIO. All register offset addresses not listed in
should be considered as reserved locations and the register contents should not be modified.
Table 17-5. GPIO Registers
Offset
Acronym
Register Name
Section
0x0
GPIODATA
GPIO Data
0x400
GPIODIR
GPIO Direction
0x404
GPIOIS
GPIO Interrupt Sense
0x408
GPIOIBE
GPIO Interrupt Both Edges
0x40C
GPIOIEV
GPIO Interrupt Event
0x410
GPIOIM
GPIO Interrupt Mask
0x414
GPIORIS
GPIO Raw Interrupt Status
0x418
GPIOMIS
GPIO Masked Interrupt Status
0x41C
GPIOICR
GPIO Interrupt Clear
0x420
GPIOAFSEL
GPIO Alternate Function Select
0x500
GPIODR2R
GPIO 2-mA Drive Select
0x504
GPIODR4R
GPIO 4-mA Drive Select
0x508
GPIODR8R
GPIO 8-mA Drive Select
0x50C
GPIOODR
GPIO Open Drain Select
0x510
GPIOPUR
GPIO Pullup Select
0x514
GPIOPDR
GPIO Pulldown Select
0x518
GPIOSLR
GPIO Slew Rate Control Select
0x51C
GPIODEN
GPIO Digital Enable
0x520
GPIOLOCK
GPIO Lock
0x524
GPIOCR
GPIO Commit
0x528
GPIOAMSEL
GPIO Analog Mode Select
0x52C
GPIOPCTL
GPIO Port Control
0x530
GPIOADCCTL
GPIO ADC Control
0x534
GPIODMACTL
GPIO DMA Control
0x538
GPIOSI
GPIO Select Interrupt
0x53C
GPIODR12R
GPIO 12-mA Drive Select
0x540
GPIOWAKEPEN
GPIO Wake Pin Enable
0x544
GPIOWAKELVL
GPIO Wake Level
0x548
GPIOWAKESTAT
GPIO Wake Status
0xFC0
GPIOPP
GPIO Peripheral Property
0xFC4
GPIOPC
GPIO Peripheral Configuration
0xFD0
GPIOPeriphID4
GPIO Peripheral Identification 4
0xFD4
GPIOPeriphID5
GPIO Peripheral Identification 5
0xFD8
GPIOPeriphID6
GPIO Peripheral Identification 6