Revision 862
Updated analog.c and analog.h documentation and regenerated the docs. No need to remake the library as its just comments.
dragonfly__lib_8h-source.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> |
|
16 |
</div> |
|
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> |
|
17 | 18 |
<h1>dragonfly_lib.h</h1><a href="dragonfly__lib_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
18 | 19 |
<a name="l00036"></a>00036 <span class="preprocessor">#ifndef _DRAGONFLY_LIB_H_</span> |
19 | 20 |
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define _DRAGONFLY_LIB_H_</span> |
... | ... | |
31 | 32 |
<a name="l00055"></a>00055 <span class="preprocessor"></span> |
32 | 33 |
<a name="l00056"></a><a class="code" href="group__dragonfly.html#g9bb31bba359fbb679910df0a6efde5a3">00056</a> <span class="preprocessor">#define MOTORS 0x08</span> |
33 | 34 |
<a name="l00057"></a>00057 <span class="preprocessor"></span> |
34 |
<a name="l00058"></a><a class="code" href="group__dragonfly.html#g457a9aa93dbb216459873a30bdb4d84a">00058</a> <span class="preprocessor">#define I2C 0x20</span>
|
|
35 |
<a name="l00058"></a><a class="code" href="group__dragonfly.html#g145103118f6d9d1129aa4509cf214a13">00058</a> <span class="preprocessor">#define BUZZER 0x10</span>
|
|
35 | 36 |
<a name="l00059"></a>00059 <span class="preprocessor"></span> |
36 |
<a name="l00060"></a><a class="code" href="group__dragonfly.html#g145103118f6d9d1129aa4509cf214a13">00060</a> <span class="preprocessor">#define BUZZER 0x40</span>
|
|
37 |
<a name="l00060"></a><a class="code" href="group__dragonfly.html#gbf2d80992dcfabfd1668184c3dff2733">00060</a> <span class="preprocessor">#define LCD 0x20</span>
|
|
37 | 38 |
<a name="l00061"></a>00061 <span class="preprocessor"></span> |
38 |
<a name="l00062"></a><a class="code" href="group__dragonfly.html#gbf2d80992dcfabfd1668184c3dff2733">00062</a> <span class="preprocessor">#define LCD 0x80</span>
|
|
39 |
<a name="l00062"></a><a class="code" href="group__dragonfly.html#g1252cf7a07df96ed2561ae605eaca197">00062</a> <span class="preprocessor">#define ALL_ON 0xFF</span>
|
|
39 | 40 |
<a name="l00063"></a>00063 <span class="preprocessor"></span> |
40 |
<a name="l00064"></a><a class="code" href="group__dragonfly.html#g1252cf7a07df96ed2561ae605eaca197">00064</a> <span class="preprocessor">#define ALL_ON 0xFF</span> |
|
41 |
<a name="l00065"></a>00065 <span class="preprocessor"></span> |
|
42 |
<a name="l00066"></a>00066 |
|
43 |
<a name="l00068"></a>00068 <span class="keywordtype">void</span> <a class="code" href="group__dragonfly.html#g8124e2c32bf25208586d500e45ba5fe3" title="Initialize the board.">dragonfly_init</a>(<span class="keywordtype">int</span> config); |
|
44 |
<a name="l00069"></a>00069 <span class="comment">//end addtogroup</span> |
|
45 |
<a name="l00071"></a>00071 |
|
46 |
<a name="l00072"></a>00072 <span class="preprocessor">#include <inttypes.h></span> |
|
47 |
<a name="l00073"></a>00073 <span class="preprocessor">#include <stdio.h></span> |
|
48 |
<a name="l00074"></a>00074 <span class="preprocessor">#include <stdlib.h></span> |
|
49 |
<a name="l00075"></a>00075 <span class="preprocessor">#include <avr/io.h></span> |
|
50 |
<a name="l00076"></a>00076 <span class="preprocessor">#include <avr/interrupt.h></span> |
|
51 |
<a name="l00077"></a>00077 <span class="preprocessor">#include <util/delay.h></span> |
|
52 |
<a name="l00078"></a>00078 <span class="preprocessor">#include <util/twi.h></span> |
|
53 |
<a name="l00079"></a>00079 |
|
54 |
<a name="l00080"></a>00080 <span class="preprocessor">#include <<a class="code" href="analog_8h.html" title="Contains functions and definitions for using the ADC.">analog.h</a>></span> |
|
55 |
<a name="l00081"></a>00081 <span class="preprocessor">#include <<a class="code" href="dio_8h.html" title="Definitions for digital input / output.">dio.h</a>></span> |
|
56 |
<a name="l00082"></a>00082 <span class="preprocessor">#include <<a class="code" href="time_8h.html" title="Contains time-related functions and definitions.">time.h</a>></span> |
|
57 |
<a name="l00083"></a>00083 <span class="preprocessor">#include <<a class="code" href="lcd_8h.html" title="Contains definitions for dealing with the LCD screen.">lcd.h</a>></span> |
|
58 |
<a name="l00084"></a>00084 <span class="preprocessor">#include <<a class="code" href="lights_8h.html" title="Contains declarations for managing the orbs.">lights.h</a>></span> |
|
59 |
<a name="l00085"></a>00085 <span class="preprocessor">#include <<a class="code" href="motor_8h.html" title="Contains definitions for controlling the motors.">motor.h</a>></span> |
|
60 |
<a name="l00086"></a>00086 <span class="preprocessor">#include <<a class="code" href="serial_8h.html" title="Contains declarations for serial input and output.">serial.h</a>></span> |
|
61 |
<a name="l00087"></a>00087 <span class="preprocessor">#include <<a class="code" href="buzzer_8h.html" title="Contains definitions for using the buzzer.">buzzer.h</a>></span> |
|
62 |
<a name="l00088"></a>00088 <span class="preprocessor">#include <<a class="code" href="rangefinder_8h.html" title="Contains rangefinder declarations and functions.">rangefinder.h</a>></span> |
|
63 |
<a name="l00089"></a>00089 <span class="preprocessor">#include <<a class="code" href="bom_8h.html" title="Definitions for using the BOM.">bom.h</a>></span> |
|
64 |
<a name="l00090"></a>00090 <span class="preprocessor">#include <<a class="code" href="move_8h.html" title="Contains definitions for controlling robot motion.">move.h</a>></span> |
|
65 |
<a name="l00091"></a>00091 <span class="preprocessor">#include <<a class="code" href="reset_8h.html" title="Contains function(s) for resetting the robots.">reset.h</a>></span> |
|
66 |
<a name="l00092"></a>00092 <span class="preprocessor">#include <<a class="code" href="math_8h.html" title="Contains math function(s).">math.h</a>></span> |
|
67 |
<a name="l00093"></a>00093 |
|
68 |
<a name="l00094"></a>00094 <span class="preprocessor">#endif</span> |
|
69 |
<a name="l00095"></a>00095 <span class="preprocessor"></span> |
|
70 |
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 6 20:27:38 2008 for libdragonfly by |
|
41 |
<a name="l00064"></a>00064 |
|
42 |
<a name="l00066"></a>00066 <span class="keywordtype">void</span> <a class="code" href="group__dragonfly.html#g8124e2c32bf25208586d500e45ba5fe3" title="Initialize the board.">dragonfly_init</a>(<span class="keywordtype">int</span> config); |
|
43 |
<a name="l00067"></a>00067 <span class="comment">//end addtogroup</span> |
|
44 |
<a name="l00069"></a>00069 |
|
45 |
<a name="l00070"></a>00070 <span class="preprocessor">#include <inttypes.h></span> |
|
46 |
<a name="l00071"></a>00071 <span class="preprocessor">#include <stdio.h></span> |
|
47 |
<a name="l00072"></a>00072 <span class="preprocessor">#include <stdlib.h></span> |
|
48 |
<a name="l00073"></a>00073 <span class="preprocessor">#include <avr/io.h></span> |
|
49 |
<a name="l00074"></a>00074 <span class="preprocessor">#include <avr/interrupt.h></span> |
|
50 |
<a name="l00075"></a>00075 <span class="preprocessor">#include <util/delay.h></span> |
|
51 |
<a name="l00076"></a>00076 <span class="preprocessor">#include <util/twi.h></span> |
|
52 |
<a name="l00077"></a>00077 |
|
53 |
<a name="l00078"></a>00078 <span class="preprocessor">#include <<a class="code" href="analog_8h.html" title="Contains functions and definitions for using the ADC.">analog.h</a>></span> |
|
54 |
<a name="l00079"></a>00079 <span class="preprocessor">#include <<a class="code" href="dio_8h.html" title="Definitions for digital input / output.">dio.h</a>></span> |
|
55 |
<a name="l00080"></a>00080 <span class="preprocessor">#include <<a class="code" href="time_8h.html" title="Contains time-related functions and definitions.">time.h</a>></span> |
|
56 |
<a name="l00081"></a>00081 <span class="preprocessor">#include <<a class="code" href="lcd_8h.html" title="Contains definitions for dealing with the LCD screen.">lcd.h</a>></span> |
|
57 |
<a name="l00082"></a>00082 <span class="preprocessor">#include <<a class="code" href="lights_8h.html" title="Contains declarations for managing the orbs.">lights.h</a>></span> |
|
58 |
<a name="l00083"></a>00083 <span class="preprocessor">#include <<a class="code" href="motor_8h.html" title="Contains definitions for controlling the motors.">motor.h</a>></span> |
|
59 |
<a name="l00084"></a>00084 <span class="preprocessor">#include <<a class="code" href="serial_8h.html" title="Contains declarations for serial input and output.">serial.h</a>></span> |
|
60 |
<a name="l00085"></a>00085 <span class="preprocessor">#include <<a class="code" href="buzzer_8h.html" title="Contains definitions for using the buzzer.">buzzer.h</a>></span> |
|
61 |
<a name="l00086"></a>00086 <span class="preprocessor">#include <<a class="code" href="rangefinder_8h.html" title="Contains rangefinder declarations and functions.">rangefinder.h</a>></span> |
|
62 |
<a name="l00087"></a>00087 <span class="preprocessor">#include <<a class="code" href="bom_8h.html" title="Definitions for using the BOM.">bom.h</a>></span> |
|
63 |
<a name="l00088"></a>00088 <span class="preprocessor">#include <<a class="code" href="move_8h.html" title="Contains definitions for controlling robot motion.">move.h</a>></span> |
|
64 |
<a name="l00089"></a>00089 <span class="preprocessor">#include <<a class="code" href="reset_8h.html" title="Contains function(s) for resetting the robots.">reset.h</a>></span> |
|
65 |
<a name="l00090"></a>00090 <span class="preprocessor">#include <<a class="code" href="math_8h.html" title="Contains math function(s).">math.h</a>></span> |
|
66 |
<a name="l00091"></a>00091 |
|
67 |
<a name="l00092"></a>00092 <span class="preprocessor">#endif</span> |
|
68 |
<a name="l00093"></a>00093 <span class="preprocessor"></span> |
|
69 |
</pre></div></div> |
|
70 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 26 13:39:28 2008 for libdragonfly by |
|
71 | 71 |
<a href="http://www.doxygen.org/index.html"> |
72 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
|
72 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
|
73 | 73 |
</body> |
74 | 74 |
</html> |
Also available in: Unified diff