LM3S1538 Luminary Micro, Inc, LM3S1538 Datasheet - Page 168
LM3S1538
Manufacturer Part Number
LM3S1538
Description
Lm3s1538 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet
1.LM3S1538.pdf
(494 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LM3S1538-EQC50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1538-EQC50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1538-IBZ50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1538-IBZ50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1538-IQC50-A2
Manufacturer:
Texas Instruments
Quantity:
135
Company:
Part Number:
LM3S1538-IQC50-A2
Manufacturer:
Zilog
Quantity:
258
Part Number:
LM3S1538-IQC50-A2
Manufacturer:
TI/德州仪器
Quantity:
20 000
Company:
Part Number:
LM3S1538-IQC50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
- Current page: 168 of 494
- Download datasheet (6Mb)
General-Purpose Input/Outputs (GPIOs)
9.2
Table 9-1. GPIO Pad Configuration Examples
a. X=Ignored (don’t care bit)
?=Can be either 0 or 1, depending on the configuration
Table 9-2. GPIO Interrupt Configuration Example
168
Configuration
Digital Input (GPIO)
Digital Output (GPIO)
Open Drain Input
(GPIO)
Open Drain Output
(GPIO)
Open Drain
Input/Output (I
Digital Input (Timer
CCP)
Digital Input (QEI)
Digital Output (Timer
PWM)
Digital Input/Output
(SSI)
Digital Input/Output
(UART)
Register
GPIOIS
GPIOIBE
Desired
Interrupt
Event
Trigger
2
Initialization and Configuration
To use the GPIO, the peripheral clock must be enabled by setting the appropriate GPIO Port bit
field (GPIOn) in the RCGC2 register.
On reset, all GPIO pins (except for the five JTAG pins) are configured out of reset to be undriven
(tristate): GPIOAFSEL=0, GPIODEN=0, GPIOPDR=0, and GPIOPUR=0. Table 9-1 on page 168
shows all possible configurations of the GPIO pads and the control register settings required to
achieve them. Table 9-2 on page 168 shows how a rising edge interrupt would be configured for pin
2 of a GPIO port.
C)
0=single
0=edge
1=level
1=both
edges
edge
GPIO Register Bit Value
AFSEL
0
0
0
0
1
1
1
1
1
1
Pin 2 Bit Value
7
X
X
DIR
X
X
X
X
X
X
0
1
0
1
6
a
ODR
X
X
a
0
0
1
1
1
0
0
0
0
0
5
DEN
X
X
Preliminary
1
1
1
1
1
1
1
1
1
1
PUR
4
?
?
X
X
X
?
?
?
?
?
X
X
PDR
3
?
?
X
X
X
?
?
?
?
?
X
X
DR2R
X
X
X
X
?
?
?
?
?
?
2
0
0
DR4R
X
X
X
X
?
?
?
?
?
?
1
DR8R
X
X
X
X
X
X
?
?
?
?
?
?
July 26, 2008
0
SLR
X
X
X
X
X
X
?
?
?
?
?
?
Related parts for LM3S1538
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Inductor: Molded: 10u: 10%: 30M: 7.9: 440m: Axial: T/R
Manufacturer:
Inductor Supply, Inc.
Part Number:
Description:
Molded Inductor
Manufacturer:
Inductor Supply, Inc.
Datasheet:
Part Number:
Description:
Cree Smd Led
Manufacturer:
Cree, Inc.
Datasheet:
Part Number:
Description:
Cree Smd Led
Manufacturer:
Cree, Inc.
Datasheet:
Part Number:
Description:
Specification For Cotco Led Lamp
Manufacturer:
Marktech Optoelectronics
Datasheet:
Part Number:
Description:
Lm3s1110 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1133 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1138 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1150 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1162 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1165 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1332 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1435 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet: