LM3S300 Luminary Micro, Inc, LM3S300 Datasheet - Page 124

no-image

LM3S300

Manufacturer Part Number
LM3S300
Description
Lm3s300 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S300-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S300-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S300-IGZ25-C2
Manufacturer:
TI
Quantity:
982
Company:
Part Number:
LM3S300-IGZ25-C2
Quantity:
168
Part Number:
LM3S300-IQN25-C2
Quantity:
250
Part Number:
LM3S300-IQN25-C2
Manufacturer:
TI
Quantity:
214
Part Number:
LM3S300-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S300-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
General-Purpose Input/Outputs (GPIOs)
a. X=Ignored (don’t care bit)
?=Can be either 0 or 1, depending on the configuration
Table 8-2. GPIO Interrupt Configuration Example
a. X=Ignored (don’t care bit)
8.3
124
Configuration
Digital Input/Output
(UART)
Analog Input
(Comparator)
Digital Output
(Comparator)
Register
GPIOIS
GPIOIBE
GPIOIEV
GPIOIM
Desired
Interrupt
Event
Trigger
0=Low level,
1=High level,
or negative
0=masked
Register Map
Table 8-3 on page 125 lists the GPIO registers. The offset listed is a hexadecimal increment to the
register’s address, relative to that GPIO port’s base address:
Important:
or positive
0=single
masked
0=edge
1=level
1=both
edges
1=not
edge
edge
edge
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 Register Bit Value
AFSEL
1
0
1
Pin 2 Bit Value
7
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
X
X
X
0
DIR
X
X
0
6
a
ODR
X
X
X
0
a
0
0
0
5
DEN
X
X
X
0
Preliminary
1
0
1
PUR
4
?
0
?
X
X
X
0
PDR
3
?
0
?
X
X
X
0
DR2R
X
?
?
2
0
0
1
1
DR4R
X
?
?
1
DR8R
X
X
X
0
X
?
?
June 04, 2008
0
SLR
X
X
X
0
X
?
?

Related parts for LM3S300