■ GPIO Port D: 0x4000.7000
■ GPIO Port E: 0x4002.4000
■ GPIO Port F: 0x4002.5000
■ GPIO Port G: 0x4002.6000
Important: The GPIO registers in this chapter are duplicated in each GPIO block; however,
depending on the block, all eight bits may not be connected to a GPIO pad. In those
cases, writing to those unconnected bits has no effect, and reading those unconnected
bits returns no meaningful data.
Note: The default reset value for the GPIOAFSEL, GPIOPUR, and GPIODEN registers are
0x0000.0000 for all GPIO pins, with the exception of the five JTAG/SWD pins (PB7 and
PC[3:0]). These five pins default to JTAG/SWD functionality. Because of this, the default
reset value of these registers for GPIO Port B is 0x0000.0080 while the default reset value
for Port C is 0x0000.000F.
The default register type for the GPIOCR register is RO for all GPIO pins with the exception
of the five JTAG/SWD pins (PB7 and PC[3:0]). These five pins are currently the only
GPIOs that are protected by the GPIOCR register. Because of this, the register type for
GPIO Port B7 and GPIO Port C[3:0] is R/W.
The default reset value for the GPIOCR register is 0x0000.00FF for all GPIO pins, with the
exception of the five JTAG/SWD pins (PB7 and PC[3:0]). To ensure that the JTAG port
is not accidentally programmed as a GPIO, these five pins default to non-committable.
Because of this, the default reset value of GPIOCR for GPIO Port B is 0x0000.007F while
the default reset value of GPIOCR for Port C is 0x0000.00F0.
Table 8-3. GPIO Register Map
See
page
DescriptionResetTypeNameOffset
156GPIO Data0x0000.0000R/WGPIODATA0x000
157GPIO Direction0x0000.0000R/WGPIODIR0x400
158GPIO Interrupt Sense0x0000.0000R/WGPIOIS0x404
159GPIO Interrupt Both Edges0x0000.0000R/WGPIOIBE0x408
160GPIO Interrupt Event0x0000.0000R/WGPIOIEV0x40C
161GPIO Interrupt Mask0x0000.0000R/WGPIOIM0x410
162GPIO Raw Interrupt Status0x0000.0000ROGPIORIS0x414
163GPIO Masked Interrupt Status0x0000.0000ROGPIOMIS0x418
164GPIO Interrupt Clear0x0000.0000W1CGPIOICR0x41C
165GPIO Alternate Function Select-R/WGPIOAFSEL0x420
167GPIO 2-mA Drive Select0x0000.00FFR/WGPIODR2R0x500
168GPIO 4-mA Drive Select0x0000.0000R/WGPIODR4R0x504
169GPIO 8-mA Drive Select0x0000.0000R/WGPIODR8R0x508
170GPIO Open Drain Select0x0000.0000R/WGPIOODR0x50C
171GPIO Pull-Up Select-R/WGPIOPUR0x510
June 22, 2010154
Texas Instruments-Production Data
General-Purpose Input/Outputs (GPIOs)