Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X 데이터 시트

제품 코드
DK-TM4C129X
다운로드
페이지 2182
Important: All GPIO pins are configured as GPIOs and tri-stated by default (GPIOAFSEL=0,
GPIODEN=0, GPIOPDR=0, GPIOPUR=0, and GPIOPCTL=0), with the exception of
the pins shown in the table below. A Power-On-Reset (
POR
) puts the pins back to their
default state.
Table 10-6. GPIO Pins With Non-Zero Reset Values
GPIOPCTL
GPIOPUR
GPIOPDR
GPIODEN
GPIOAFSEL
Default State
GPIO Pins
0x1
1
0
1
1
JTAG/SWD
PC[3: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 “Commit Control” on page 783.
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 RO for all GPIO pins with the exception of the
NMI
pin and the four JTAG/SWD pins (see “Signal Tables” on page 2034 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 0x0000.00FF for all GPIO pins, with the exception
of the
NMI
pin and the four JTAG/SWD pins (see “Signal Tables” on page 2034 for pin numbers). To
ensure that the JTAG and
NMI
pins are not accidentally programmed as GPIO pins, these pins
default to non-committable. Because of this, the default reset value of GPIOCR changes for the
corresponding ports.
Table 10-7. GPIO Register Map
See
page
Description
Reset
Type
Name
Offset
GPIO Data
0x0000.0000
RW
GPIODATA
0x000
GPIO Direction
0x0000.0000
RW
GPIODIR
0x400
GPIO Interrupt Sense
0x0000.0000
RW
GPIOIS
0x404
GPIO Interrupt Both Edges
0x0000.0000
RW
GPIOIBE
0x408
GPIO Interrupt Event
0x0000.0000
RW
GPIOIEV
0x40C
GPIO Interrupt Mask
0x0000.0000
RW
GPIOIM
0x410
GPIO Raw Interrupt Status
0x0000.0000
RO
GPIORIS
0x414
GPIO Masked Interrupt Status
0x0000.0000
RO
GPIOMIS
0x418
GPIO Interrupt Clear
0x0000.0000
W1C
GPIOICR
0x41C
GPIO Alternate Function Select
-
RW
GPIOAFSEL
0x420
GPIO 2-mA Drive Select
0x0000.00FF
RW
GPIODR2R
0x500
GPIO 4-mA Drive Select
0x0000.0000
RW
GPIODR4R
0x504
787
December 13, 2013
Texas Instruments-Advance Information
Tiva
TM4C129XNCZAD Microcontroller