Revision 862
Updated analog.c and analog.h documentation and regenerated the docs. No need to remake the library as its just comments.
analog_8h.html | ||
---|---|---|
4 | 4 |
<link href="doxygen.css" rel="stylesheet" type="text/css"> |
5 | 5 |
<link href="tabs.css" rel="stylesheet" type="text/css"> |
6 | 6 |
</head><body> |
7 |
<!-- Generated by Doxygen 1.5.3 --> |
|
8 |
<div class="tabs"> |
|
9 |
<ul> |
|
10 |
<li><a href="index.html"><span>Main Page</span></a></li> |
|
11 |
<li><a href="modules.html"><span>Modules</span></a></li> |
|
12 |
<li><a href="annotated.html"><span>Data Structures</span></a></li> |
|
13 |
<li class="current"><a href="files.html"><span>Files</span></a></li> |
|
14 |
<li><a href="pages.html"><span>Related Pages</span></a></li> |
|
15 |
</ul> |
|
7 |
<!-- Generated by Doxygen 1.5.5 --> |
|
8 |
<div class="navigation" id="top"> |
|
9 |
<div class="tabs"> |
|
10 |
<ul> |
|
11 |
<li><a href="index.html"><span>Main Page</span></a></li> |
|
12 |
<li><a href="pages.html"><span>Related Pages</span></a></li> |
|
13 |
<li><a href="modules.html"><span>Modules</span></a></li> |
|
14 |
<li><a href="annotated.html"><span>Data Structures</span></a></li> |
|
15 |
<li class="current"><a href="files.html"><span>Files</span></a></li> |
|
16 |
</ul> |
|
17 |
</div> |
|
16 | 18 |
</div> |
19 |
<div class="contents"> |
|
17 | 20 |
<h1>analog.h File Reference</h1>Contains functions and definitions for using the ADC. <a href="#_details">More...</a> |
18 | 21 |
<p> |
19 | 22 |
<code>#include <inttypes.h></code><br> |
... | ... | |
125 | 128 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__analog.html#g7261449d6a0a02d5717d62e9015d38a6">analog_stop_loop</a> (void)</td></tr> |
126 | 129 |
|
127 | 130 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Stops the analog loop. Doesn't do anything if the loop is already stopped. <a href="group__analog.html#g7261449d6a0a02d5717d62e9015d38a6"></a><br></td></tr> |
128 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gf1211040ce2c54f12f98df7d47a4eb27"></a><!-- doxytag: member="analog.h::analog8" ref="gf1211040ce2c54f12f98df7d47a4eb27" args="(int which)" --> |
|
129 |
unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__analog.html#gf1211040ce2c54f12f98df7d47a4eb27">analog8</a> (int which)</td></tr> |
|
131 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__analog.html#gf1211040ce2c54f12f98df7d47a4eb27">analog8</a> (int which)</td></tr> |
|
130 | 132 |
|
131 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Read an 8-bit number from an analog port. Loop must be stopped for this to work. <br></td></tr>
|
|
133 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an 8-bit analog value from the look up table. Use this instead of analog_get8. <a href="group__analog.html#gf1211040ce2c54f12f98df7d47a4eb27"></a><br></td></tr>
|
|
132 | 134 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__analog.html#g875bf8cb165a3a288eb1aa2ac06be4f3">analog10</a> (int which)</td></tr> |
133 | 135 |
|
134 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Read a 10-bit number from an analog port. Loop must be stopped for this to work. <a href="group__analog.html#g875bf8cb165a3a288eb1aa2ac06be4f3"></a><br></td></tr>
|
|
136 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an 10-bit analog value from the look up table. Use this instead of analog_get10. <a href="group__analog.html#g875bf8cb165a3a288eb1aa2ac06be4f3"></a><br></td></tr>
|
|
135 | 137 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__analog.html#g973e63eb508819a37efe3231b6a39550">wheel</a> (void)</td></tr> |
136 | 138 |
|
137 | 139 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Read the position of the wheel. <a href="group__analog.html#g973e63eb508819a37efe3231b6a39550"></a><br></td></tr> |
138 | 140 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__analog.html#g1593f0ee57fea252a5ef0146004d7fa9">analog_get8</a> (int which)</td></tr> |
139 | 141 |
|
140 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an 8-bit analog value from the look up table. Use this instead of analog8. <a href="group__analog.html#g1593f0ee57fea252a5ef0146004d7fa9"></a><br></td></tr>
|
|
142 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Read an 8-bit number from an analog port. Loop must be stopped for this to work. <a href="group__analog.html#g1593f0ee57fea252a5ef0146004d7fa9"></a><br></td></tr>
|
|
141 | 143 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__analog.html#g97e97c6d960441518b2572c42c941719">analog_get10</a> (int which)</td></tr> |
142 | 144 |
|
143 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an 10-bit analog value from the look up table. Use this instead of analog10. <a href="group__analog.html#g97e97c6d960441518b2572c42c941719"></a><br></td></tr>
|
|
145 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Read a 10-bit number from an analog port. Loop must be stopped for this to work. <a href="group__analog.html#g97e97c6d960441518b2572c42c941719"></a><br></td></tr>
|
|
144 | 146 |
</table> |
145 | 147 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
146 | 148 |
Contains functions and definitions for using the ADC. |
... | ... | |
152 | 154 |
Contains definitions and function prototypes for using the ADC to detect analog signals on pins AN0 - AN7. AN6 and AN7 are used for the wheel and battery.<p> |
153 | 155 |
The pins labeled E6 and E7 are external interrupt pins and are not related to analog.<p> |
154 | 156 |
<dl class="author" compact><dt><b>Author:</b></dt><dd>Colony Project, CMU Robotics Club, based on firefly code by Tom Lauwers </dd></dl> |
155 |
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 6 20:27:38 2008 for libdragonfly by |
|
157 |
</div> |
|
158 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 26 13:39:28 2008 for libdragonfly by |
|
156 | 159 |
<a href="http://www.doxygen.org/index.html"> |
157 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
|
160 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
|
158 | 161 |
</body> |
159 | 162 |
</html> |
Also available in: Unified diff