English
Language : 

LM3S316 Datasheet, PDF (123/421 Pages) List of Unclassifed Manufacturers – Microcontroller
LM3S316 Data Sheet
8.4 Register Map
Table 8-2 lists the GPIO registers. The offset listed is a hexadecimal increment to the register’s
address, relative to that GPIO port’s base address:
„ GPIO Port A: 0x40004000
„ GPIO Port B: 0x40005000
„ GPIO Port C: 0x40006000
„ GPIO Port D: 0x40007000
„ GPIO Port E: 0x40024000
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 (see
Figure 8-1 on page 118). In those cases, writing to those unconnected bits has no
effect and reading those unconnected bits returns no meaningful data.
Table 8-3. GPIO Register Map
Offset Name
Reset
Type Description
0x000
0x400
0x404
0x408
0x40C
0x410
0x414
0x418
0x41C
0x420
0x500
0x504
0x508
0x50C
0x510
0x514
0x518
0x51C
0xFD0
GPIODATA
GPIODIR
GPIOIS
GPIOIBE
GPIOIEV
GPIOIM
GPIORIS
GPIOMIS
GPIOICR
GPIOAFSEL
GPIODR2R
GPIODR4R
GPIODR8R
GPIOODR
GPIOPUR
GPIOPDR
GPIOSLR
GPIODEN
GPIOPeriphID4
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
see notea
0x000000FF
0x00000000
0x00000000
0x00000000
0x000000FF
0x00000000
0x00000000
0x000000FF
0x00000000
R/W
R/W
R/W
R/W
R/W
R/W
RO
RO
W1C
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RO
Data
Data direction
Interrupt sense
Interrupt both edges
Interrupt event
Interrupt mask enable
Raw interrupt status
Masked interrupt status
Interrupt clear
Alternate function select
2-mA drive select
4-mA drive select
8-mA drive select
Open drain select
Pull-up select
Pull-down select
Slew rate control select
Digital input enable
Peripheral identification 4
See
page
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
April 27, 2007
123
Preliminary