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

X  

LM3S310 Datasheet(PDF) 271 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) 271 Page - List of Unclassifed Manufacturers

Back Button LM3S310 Datasheet HTML 267Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 268Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 269Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 270Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 271Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 272Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 273Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 274Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 275Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 271 / 342 page
background image
LM3S310 Data Sheet
October 6, 2006
271
Preliminary
13.3
Initialization and Configuration
The following example shows how to configure analog comparator to read back its output value
from an internal register.
1.
Enable the analog comparator 0 clock by writing a value of 0x00100000 to the RCGC1 register
in the System Control module.
2.
In the GPIO module, enable the GPIO port/pin associated with C0- as a GPIO input.
3.
Configure the internal voltage reference to 1.65 V by writing the ACREFCTL register with the
value 0x0000030C.
4.
Configure comparator 0 to use the internal voltage reference and to not output a value on the
C0O
pin by writing the ACCTL0 register with the value of 0x0000040C.
5.
Delay for some time.
6.
Read the comparator output value by reading the ACSTAT0 register’s OVAL value.
Change the level of the signal input on C0- to see the OVAL value change.
EN=1
RNG=0
Total resistance in ladder is 32 R.
The range of internal reference in this mode is 0.825–2.37 V.
RNG=1
Total resistance in ladder is 24 R.
The range of internal reference for this mode is 0.0–2.0625 V.
Table 13-4.
Internal Reference Voltage and ACREFCTL Field Values (Continued)
ACREFCTL Register
Output Reference Voltage Based on VREF Field Value
EN Bit Value
RNG Bit Value
V
RE F
AV
DD
R
VRE F
R
T
----------------
×
=
V
REF
AV
DD
VREF
8
+
()
32
-----------------------------
×
=
V
REF
0.825
0.103 VREF
⋅
+
=
V
RE F
AV
DD
R
VRE F
R
T
----------------
×
=
V
REF
AV
DD
VREF
()
24
--------------------
×
=
V
REF
0.1375 VREF
⋅
=



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