LM3S328 Luminary Micro, Inc., LM3S328 Datasheet - Page 105

no-image

LM3S328

Manufacturer Part Number
LM3S328
Description
Microcontroller
Manufacturer
Luminary Micro, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S328-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S328-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S328-IGZ25-C2
Manufacturer:
XICOR
Quantity:
443
Part Number:
LM3S328-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
135
Part Number:
LM3S328-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S328-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Figure 8-2. GPIO Port Block Diagram
8.2.1
October 8, 2006
Alternate Input
Alternate Output
Alternate Output Enable
Interrupt
Data Register Operation
To aid in the efficiency of software, the GPIO ports allow for the modification of individual bits in the
GPIO Data (GPIODATA) register (see page 111) by using bits [9:2] of the address bus as a mask.
This allows software drivers to modify individual GPIO pins in a single instruction, without affecting
the state of the other pins. This is in contrast to the "typical" method of doing a read-modify-write
operation to set or clear an individual GPIO pin. To accommodate this feature, the GPIODATA
register covers 256 locations in the memory map.
During a write, if the address bit associated with that data bit is set to 1, the value of the
GPIODATA register is altered. If it is cleared to 0, it is left unchanged.
For example, writing a value of 0xEB to the address GPIODATA + 0x098 would yield as shown in
Figure 8-3, where u is data unchanged by the write.
GPIOAFSEL
GPIOPeriphID0
GPIOPeriphID1
GPIOPeriphID2
GPIOPeriphID3
GPIODATA
Selection
GPIOMIS
Function
GPIODIR
Interrupt
GPIOIBE
GPIOIEV
GPIORIS
GPIOICR
GPIOIM
Control
GPIOIS
Data
I/O
Identification Registers
GPIOPeriphID4
GPIOPeriphID5
GPIOPeriphID6
GPIOPeriphID7
GPIO Input
GPIO Output
GPIO Output Enable
GPIODR2R
GPIODR4R
GPIODR8R
GPIOODR
GPIOPUR
GPIOPDR
GPIODEN
GPIOSLR
Control
I/O Pad
GPIOPCellID1
GPIOPCellID3
GPIOPCellID0
GPIOPCellID2
D
E
M
U
X
M
U
X
M
U
X
Preliminary
Pad Input
Pad Output
Pad Output Enable
Pad
I/O
LM3S328 Data Sheet
Package I/O Pin
105

Related parts for LM3S328