English
Language : 

LM3S1969 Datasheet, PDF (291/677 Pages) Texas Instruments – Stellaris® LM3S1969 Microcontroller
OBSOLETE: TI has discontinued production of this device.
Stellaris® LM3S1969 Microcontroller
Table 8-4. GPIO Pad Configuration Examples (continued)
Configuration
GPIO Register Bit Valuea
AFSEL DIR
ODR
Digital Input/Output
1
X
0
(UART)
Analog Input
(Comparator)
0
0
0
Digital Output
(Comparator)
1
X
0
a. X=Ignored (don’t care bit)
DEN
1
0
1
PUR
?
0
?
?=Can be either 0 or 1, depending on the configuration
PDR
?
0
?
DR2R
?
X
?
DR4R
?
X
?
DR8R
?
X
?
SLR
?
X
?
Table 8-5. GPIO Interrupt Configuration Example
Desired
Pin 2 Bit Valuea
Register
Interrupt
Event
7
6
5
4
Trigger
GPIOIS
0=edge
X
X
X
X
1=level
GPIOIBE
0=single
X
X
X
X
edge
1=both
edges
GPIOIEV 0=Low level,
X
X
X
X
or negative
edge
1=High level,
or positive
edge
GPIOIM
0=masked
0
0
0
0
1=not
masked
a. X=Ignored (don’t care bit)
3
X
X
X
0
2
0
0
1
1
1
X
X
X
0
0
X
X
X
0
8.4 Register Map
Table 8-6 on page 292 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: 0x4000.4000
■ GPIO Port B: 0x4000.5000
■ GPIO Port C: 0x4000.6000
■ GPIO Port D: 0x4000.7000
■ GPIO Port E: 0x4002.4000
■ GPIO Port F: 0x4002.5000
■ GPIO Port G: 0x4002.6000
■ GPIO Port H: 0x4002.7000
Note that the GPIO module clock must be enabled before the registers can be programmed (see
page 226). There must be a delay of 3 system clocks after the GPIO module clock is enabled before
any GPIO module registers are accessed.
July 24, 2012
291
Texas Instruments-Production Data