Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

LM3S310 Datasheet(PDF) 107 Page - List of Unclassifed Manufacturers

Part # LM3S310
Description  Microcontroller
PDF  342 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ETC2 [List of Unclassifed Manufacturers]
Direct Link  
Logo ETC2 - List of Unclassifed Manufacturers

LM3S310 Datasheet(HTML) 107 Page - List of Unclassifed Manufacturers

Back Button LM3S310 Datasheet HTML 103Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 104Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 105Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 106Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 107Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 108Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 109Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 110Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 111Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 107 / 342 page
background image
LM3S310 Data Sheet
October 6, 2006
107
Preliminary
Figure 8-3.
GPIODATA Write Example
During a read, if the address bit associated with the data bit is set to 1, the value is read. If the
address bit associated with the data bit is set to 0, it is read as a zero, regardless of its actual
value. For example, reading address GPIODATA + 0x0C4 yields as shown in Figure 8-4.
Figure 8-4.
GPIODATA Read Example
8.2.2
Data Direction
The GPIO Direction (GPIODIR) register (see page 113) is used to configure each individual pin as
an input or output.
8.2.3
Interrupt Operation
The interrupt capabilities of each GPIO port are controlled by a set of seven registers. With these
registers, it is possible to select the source of the interrupt, its polarity, and the edge properties.
When one or more GPIO inputs cause an interrupt, a single interrupt output is sent to the interrupt
controller for the entire GPIO port. For edge-triggered interrupts, software must clear the interrupt
to enable any further interrupts. For a level-sensitive interrupt, it is assumed that the external
source holds the level constant for the interrupt to be recognized by the controller.
Three registers are required to define the edge or sense that causes interrupts:
GPIO Interrupt Sense (GPIOIS) register (see page 114)
GPIO Interrupt Both Edges (GPIOIBE) register (see page 115)
GPIO Interrupt Event (GPIOIEV) register (see page 116)
Interrupts are enabled/disabled via the GPIO Interrupt Mask (GPIOIM) register (see page 117).
When an interrupt condition occurs, the state of the interrupt signal can be viewed in two locations:
the GPIO Raw Interrupt Status (GPIORIS) and GPIO Masked Interrupt Status (GPIOMIS)
registers (see pages 118 and 119). As the name implies, the GPIOMIS register only shows
interrupt conditions that are allowed to be passed to the controller. The GPIORIS register indicates
that a GPIO pin meets the conditions for an interrupt, but has not necessarily been sent to the
controller.
0xEB
GPIODATA
0x098
1
1
1
0
0
1
1
1
u
1
u
u
0
u
1
u
1
7
0
6
4
5
3
2
ADDR[9:2]
9
7
8
6
4
5
3
21
0
0
1
0
0
1
0
1
0
0
0
Returned Value
0
1
0
1
0
0
0
0
7
5
6
4
2
3
1
0
ADDR[9:2]
9
7
8
6
4
5
3
21
0
1
1
GPIODATA
1
1
0
1
1
0
0x0C4
0
1
0
1
0
0
0
1
0
0



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com