Revision 862
Updated analog.c and analog.h documentation and regenerated the docs. No need to remake the library as its just comments.
group__dragonfly.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><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><a href="files.html"><span>Files</span></a></li> |
|
16 |
</ul> |
|
17 |
</div> |
|
16 | 18 |
</div> |
19 |
<div class="contents"> |
|
17 | 20 |
<h1>Dragonfly</h1>General Dragonfly Functions General functions for the dragonfly. Include <a class="el" href="dragonfly__lib_8h.html" title="Contains other include files.">dragonfly_lib.h</a> to access these functions. |
18 | 21 |
<a href="#_details">More...</a><table border="0" cellpadding="0" cellspacing="0"> |
19 | 22 |
<tr><td></td></tr> |
... | ... | |
42 | 45 |
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__dragonfly.html#g9bb31bba359fbb679910df0a6efde5a3">MOTORS</a> 0x08</td></tr> |
43 | 46 |
|
44 | 47 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the motors. <br></td></tr> |
45 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g457a9aa93dbb216459873a30bdb4d84a"></a><!-- doxytag: member="dragonfly::I2C" ref="g457a9aa93dbb216459873a30bdb4d84a" args="" --> |
|
46 |
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__dragonfly.html#g457a9aa93dbb216459873a30bdb4d84a">I2C</a> 0x20</td></tr> |
|
47 |
|
|
48 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize I2C. <br></td></tr> |
|
49 | 48 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g145103118f6d9d1129aa4509cf214a13"></a><!-- doxytag: member="dragonfly::BUZZER" ref="g145103118f6d9d1129aa4509cf214a13" args="" --> |
50 |
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__dragonfly.html#g145103118f6d9d1129aa4509cf214a13">BUZZER</a> 0x40</td></tr>
|
|
49 |
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__dragonfly.html#g145103118f6d9d1129aa4509cf214a13">BUZZER</a> 0x10</td></tr>
|
|
51 | 50 |
|
52 | 51 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the buzzer. <br></td></tr> |
53 | 52 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gbf2d80992dcfabfd1668184c3dff2733"></a><!-- doxytag: member="dragonfly::LCD" ref="gbf2d80992dcfabfd1668184c3dff2733" args="" --> |
54 |
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__dragonfly.html#gbf2d80992dcfabfd1668184c3dff2733">LCD</a> 0x80</td></tr>
|
|
53 |
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__dragonfly.html#gbf2d80992dcfabfd1668184c3dff2733">LCD</a> 0x20</td></tr>
|
|
55 | 54 |
|
56 | 55 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the LCD screen. <br></td></tr> |
57 | 56 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g1252cf7a07df96ed2561ae605eaca197"></a><!-- doxytag: member="dragonfly::ALL_ON" ref="g1252cf7a07df96ed2561ae605eaca197" args="" --> |
... | ... | |
66 | 65 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
67 | 66 |
General Dragonfly Functions General functions for the dragonfly. Include <a class="el" href="dragonfly__lib_8h.html" title="Contains other include files.">dragonfly_lib.h</a> to access these functions. |
68 | 67 |
<p> |
69 |
<hr><h2>Function Documentation</h2> |
|
68 |
init_dragonfly - Initializes functions based on configuration parameters examples:<p> |
|
69 |
init_dragonfly (ALL_ON); - Turns on all basic subsystems. More complex ones that require their own configuration parameters must still be called on their own.<p> |
|
70 |
init_dragonfly (ANALOG | SERIAL | BUZZER); Initialize ADC, USB, XBee, and Buzzer<p> |
|
71 |
init_dragonfly (MOTORS | ORB); Initialize the motors and ORB. <hr><h2>Function Documentation</h2> |
|
70 | 72 |
<a class="anchor" name="g8124e2c32bf25208586d500e45ba5fe3"></a><!-- doxytag: member="dragonfly_lib.c::dragonfly_init" ref="g8124e2c32bf25208586d500e45ba5fe3" args="(int config)" --> |
71 | 73 |
<div class="memitem"> |
72 | 74 |
<div class="memproto"> |
... | ... | |
86 | 88 |
<p> |
87 | 89 |
Initialize the board. |
88 | 90 |
<p> |
89 |
Initializes the components specified by config.<p> |
|
91 |
Initializes the components specified by config. Will turn on interrupts automatically.<p> |
|
92 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
|
93 |
<table border="0" cellspacing="2" cellpadding="0"> |
|
94 |
<tr><td valign="top"></td><td valign="top"><em>config</em> </td><td>The subsystems that you wish to turn on. Check <a class="el" href="dragonfly__lib_8h.html" title="Contains other include files.">dragonfly_lib.h</a> for valid values.</td></tr> |
|
95 |
</table> |
|
96 |
</dl> |
|
90 | 97 |
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__analog.html#g4be2ba5e4db17e5be950af682f9ad522" title="Initialize analog ports. Will start running a loop if start_conversion is ADC_START...">analog_init</a>, <a class="el" href="group__usb.html#gddfbdb66f507ffcd08b4496531ed0a3d" title="Initialize the USB.">usb_init</a>, <a class="el" href="group__xbee.html#g964a1e8461e9c1187e5d69f521e5e107" title="Initialize the XBee.">xbee_init</a>, <a class="el" href="group__buzzer.html#g0cead532fdd0c0de5fa1c1de0f6556bd" title="Initialize the buzzer.">buzzer_init</a>, <a class="el" href="group__bom.html#g101f932380b02b48a0ca3d20ffc8c08f" title="Initialize the bom according to bom type.">bom_init</a>, <a class="el" href="group__orbs.html#g13069271f9d636674e9b4a8a355099b9" title="Enables the orbs.">orb_init</a>, <a class="el" href="group__motors.html#gbad32bfc46c9f31ba81955775611bd21" title="Initialize the motors.">motors_init</a>, <a class="el" href="group__lcd.html#g6842775ba83d166f02b8fef8bb63b1e6" title="Initialize the LCD screen.">lcd_init</a> </dd></dl> |
91 | 98 |
|
99 |
<p>References <a class="el" href="dragonfly__lib_8h-source.html#l00046">ANALOG</a>, <a class="el" href="analog_8c-source.html#l00061">analog_init()</a>, <a class="el" href="dragonfly__lib_8h-source.html#l00058">BUZZER</a>, <a class="el" href="buzzer_8c-source.html#l00054">buzzer_init()</a>, <a class="el" href="dragonfly__lib_8h-source.html#l00052">COMM</a>, <a class="el" href="dragonfly__lib_8h-source.html#l00060">LCD</a>, <a class="el" href="lcd_8c-source.html#l00173">lcd_init()</a>, <a class="el" href="dragonfly__lib_8h-source.html#l00056">MOTORS</a>, <a class="el" href="motor_8c-source.html#l00052">motors_init()</a>, <a class="el" href="dragonfly__lib_8h-source.html#l00054">ORB</a>, <a class="el" href="lights_8c-source.html#l00237">orb_init()</a>, <a class="el" href="serial_8c-source.html#l00048">usb_init()</a>, and <a class="el" href="serial_8c-source.html#l00082">xbee_init()</a>.</p> |
|
100 |
|
|
92 | 101 |
</div> |
93 | 102 |
</div><p> |
94 |
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 6 20:27:38 2008 for libdragonfly by |
|
103 |
</div> |
|
104 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 26 13:39:28 2008 for libdragonfly by |
|
95 | 105 |
<a href="http://www.doxygen.org/index.html"> |
96 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
|
106 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
|
97 | 107 |
</body> |
98 | 108 |
</html> |
Also available in: Unified diff