![Texas Instruments SimpleLink Ethernet MSP432E401Y Скачать руководство пользователя страница 1201](http://html1.mh-extra.com/html/texas-instruments/simplelink-ethernet-msp432e401y/simplelink-ethernet-msp432e401y_technical-reference-manual_10955781201.webp)
GPIO Registers
1201
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
General-Purpose Input/Outputs (GPIOs)
17.5 GPIO Registers
NOTE:
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
unconnected bits has no effect, and reading unconnected bits returns no meaningful data.
See the device-specific data sheet for the GPIOs included on any given device.
The offset is a hexadecimal increment to the register's address, relative to the base address of that GPIO
port:
•
GPIO Port A (AHB): 0x40058000 (ending address of 0x40058FFF)
•
GPIO Port B (AHB): 0x40059000 (ending address of 0x40059FFF)
•
GPIO Port C (AHB): 0x4005A000 (ending address of 0x4005AFFF)
•
GPIO Port D (AHB): 0x4005B000 (ending address of 0x4005BFFF)
•
GPIO Port E (AHB): 0x4005C000 (ending address of 0x4005CFFF)
•
GPIO Port F (AHB): 0x4005D000 (ending address of 0x4005DFFF)
•
GPIO Port G (AHB): 0x4005E000 (ending address of 0x4005EFFF)
•
GPIO Port H (AHB): 0x4005F000 (ending address of 0x4005FFFF)
•
GPIO Port J (AHB): 0x40060000 (ending address of 0x40060FFF)
•
GPIO Port K (AHB): 0x40061000 (ending address of 0x40061FFF)
•
GPIO Port L (AHB): 0x40062000 (ending address of 0x40062FFF)
•
GPIO Port M (AHB): 0x40063000 (ending address of 0x40063FFF)
•
GPIO Port N (AHB): 0x40064000 (ending address of 0x40064FFF)
•
GPIO Port P (AHB): 0x40065000 (ending address of 0x40065FFF)
•
GPIO Port Q (AHB): 0x40066000 (ending address of 0x40066FFF)
•
GPIO Port R (AHB): 0x40067000 (ending address of 0x40067FFF)
•
GPIO Port S (AHB): 0x40068000 (ending address of 0x40068FFF)
•
GPIO Port T (AHB): 0x40069000 (ending address of 0x40069FFF)
Note that each GPIO module clock must be enabled before the registers can be programmed (see
). There must be a delay of 3 system clocks after the GPIO module clock is enabled before
any GPIO module registers are accessed.
The table below shows special consideration GPIO pins. Most GPIO pins are configured as GPIOs and
high-impedance by default (GPIOAFSEL = 0, GPIODEN = 0, GPIOPDR = 0, GPIOPUR = 0, and
GPIOPCTL = 0). Special consideration pins may be programed to a nonGPIO function or may have
special commit controls out of reset. In addition, a Power-On-Reset (POR) returns these GPIO to their
original special consideration state.
(1)
This pin is configured as a GPIO by default but is locked and can only be reprogrammed by unlocking the pin in the GPIOLOCK
register and uncommitting it by setting the GPIOCR register.
Table 17-4. GPIO Pins With Special Considerations
GPIO Pins
Default Reset
State
GPIOAFSEL
GPIODEN
GPIOPDR
GPIOPUR
GPIOPCTL
GPIOCR
PC[3:0]
JTAG/SWD
1
1
0
1
0x1
0
PD[7]
GPIO
(1)
0
0
0
0
0x0
0
PE[7]
GPIO
(1)
0
0
0
0
0x0
0
The GPIO commit control registers provide a layer of protection against accidental programming of critical
hardware signals including the GPIO pins that can function as JTAG/SWD signals and the NMI signal. The
commit control process must be followed for these pins, even if they are programmed as alternate
functions other than JTAG/SWD or NMI; see