LM3S308 Luminary Micro, Inc, LM3S308 Datasheet - Page 130

no-image

LM3S308

Manufacturer Part Number
LM3S308
Description
Lm3s308 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S308
Manufacturer:
DSP
Quantity:
648
Part Number:
LM3S308-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-IGZ25-C2
Manufacturer:
AV
Quantity:
241
Company:
Part Number:
LM3S308-IGZ25-C2
Quantity:
982
Part Number:
LM3S308-IQN25
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-IQN25-C2
Manufacturer:
TI
Quantity:
202
Part Number:
LM3S308-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-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
130
Configuration
Open Drain Input
(GPIO)
Open Drain Output
(GPIO)
Open Drain
Input/Output (I
Digital Input (Timer
CCP)
Digital Output (Timer
PWM)
Digital Input/Output
(SSI)
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,
2
or negative
0=masked
Register Map
Table 8-3 on page 131 lists the GPIO registers. The offset listed is a hexadecimal increment to the
register’s address, relative to that GPIO port’s base address:
or positive
C)
0=single
masked
0=edge
1=level
1=both
edges
1=not
edge
edge
edge
GPIO Port A: 0x4000.4000
GPIO Register Bit Value
AFSEL
0
0
1
1
1
1
1
0
1
Pin 2 Bit Value
7
X
X
X
0
DIR
X
X
X
X
X
X
0
1
0
6
a
ODR
X
X
X
0
a
1
1
1
0
0
0
0
0
0
5
DEN
X
X
X
0
Preliminary
1
1
1
1
1
1
1
0
1
PUR
4
X
X
X
?
?
?
?
0
?
X
X
X
0
PDR
3
X
X
X
?
?
?
?
0
?
X
X
X
0
DR2R
X
X
X
?
?
?
?
?
?
2
0
0
1
1
DR4R
X
X
X
?
?
?
?
?
?
1
DR8R
X
X
X
0
X
X
X
?
?
?
?
?
?
June 04, 2008
0
SLR
X
X
X
0
X
X
X
?
?
?
?
?
?

Related parts for LM3S308