Project

General

Profile

Statistics
| Revision:

root / branches / wireless / docs / libdragonfly / html / dragonfly__lib_8h-source.html @ 1578

History | View | Annotate | Download (5.68 KB)

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
<title>Colony: dragonfly_lib.h Source File</title>
4
<link href="tabs.css" rel="stylesheet" type="text/css">
5
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
</head><body>
7
<!-- Generated by Doxygen 1.5.8 -->
8
<div class="navigation" id="top">
9
  <div class="tabs">
10
    <ul>
11
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
13
      <li><a href="modules.html"><span>Modules</span></a></li>
14
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
15
      <li class="current"><a href="files.html"><span>Files</span></a></li>
16
    </ul>
17
  </div>
18
  <div class="tabs">
19
    <ul>
20
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
21
      <li><a href="globals.html"><span>Globals</span></a></li>
22
    </ul>
23
  </div>
24
<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 
25
<a name="l00036"></a>00036 <span class="preprocessor">#ifndef _DRAGONFLY_LIB_H_</span>
26
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define _DRAGONFLY_LIB_H_</span>
27
<a name="l00038"></a>00038 <span class="preprocessor"></span>
28
<a name="l00045"></a>00045 <span class="keywordtype">int</span> <a class="code" href="group__dragonfly.html#g1a50289d8c072f56fdda95c770ee0136" title="Initialize the board.">dragonfly_init</a>(<span class="keywordtype">int</span> config);
29
<a name="l00046"></a>00046  <span class="comment">//end addtogroup</span>
30
<a name="l00048"></a>00048 
31
<a name="l00049"></a>00049 <span class="preprocessor">#include &lt;inttypes.h&gt;</span>
32
<a name="l00050"></a>00050 <span class="preprocessor">#include &lt;avr/io.h&gt;</span>
33
<a name="l00051"></a>00051 <span class="preprocessor">#include &lt;avr/interrupt.h&gt;</span>
34
<a name="l00052"></a>00052 <span class="preprocessor">#include &lt;util/delay.h&gt;</span>
35
<a name="l00053"></a>00053 <span class="preprocessor">#include &lt;util/twi.h&gt;</span>
36
<a name="l00054"></a>00054 
37
<a name="l00055"></a>00055 <span class="comment">// This file is included from the libdragonfly directory because it seems to be</span>
38
<a name="l00056"></a>00056 <span class="comment">// missing from the AVR libc distribution.</span>
39
<a name="l00057"></a>00057 <span class="preprocessor">#include "<a class="code" href="atomic_8h.html">atomic.h</a>"</span>
40
<a name="l00058"></a>00058 
41
<a name="l00059"></a>00059 <span class="preprocessor">#include "dragonfly_defs.h"</span>
42
<a name="l00060"></a>00060 <span class="preprocessor">#include "<a class="code" href="analog_8h.html" title="Contains functions and definitions for using the ADC.">analog.h</a>"</span>
43
<a name="l00061"></a>00061 <span class="preprocessor">#include "<a class="code" href="dio_8h.html" title="Definitions for digital input / output.">dio.h</a>"</span>
44
<a name="l00062"></a>00062 <span class="preprocessor">#include "<a class="code" href="time_8h.html" title="Contains time-related functions and definitions.">time.h</a>"</span>
45
<a name="l00063"></a>00063 <span class="preprocessor">#include "<a class="code" href="lcd_8h.html" title="Contains definitions for dealing with the LCD screen.">lcd.h</a>"</span>
46
<a name="l00064"></a>00064 <span class="preprocessor">#include "<a class="code" href="lights_8h.html" title="Contains declarations for managing the orbs.">lights.h</a>"</span>
47
<a name="l00065"></a>00065 <span class="preprocessor">#include "<a class="code" href="motor_8h.html" title="Contains definitions for controlling the motors.">motor.h</a>"</span>
48
<a name="l00066"></a>00066 <span class="preprocessor">#include "<a class="code" href="serial_8h.html" title="Contains declarations for serial input and output.">serial.h</a>"</span>
49
<a name="l00067"></a>00067 <span class="preprocessor">#include "<a class="code" href="buzzer_8h.html" title="Contains definitions for using the buzzer.">buzzer.h</a>"</span>
50
<a name="l00068"></a>00068 <span class="preprocessor">#include "<a class="code" href="rangefinder_8h.html" title="Contains rangefinder declarations and functions.">rangefinder.h</a>"</span>
51
<a name="l00069"></a>00069 <span class="preprocessor">#include "<a class="code" href="bom_8h.html" title="Definitions for using the BOM.">bom.h</a>"</span>
52
<a name="l00070"></a>00070 <span class="preprocessor">#include "<a class="code" href="encoders_8h.html" title="Contains functions for reading encoder values.">encoders.h</a>"</span>
53
<a name="l00071"></a>00071 <span class="preprocessor">#include "<a class="code" href="move_8h.html" title="Contains definitions for controlling robot motion.">move.h</a>"</span>
54
<a name="l00072"></a>00072 <span class="preprocessor">#include "<a class="code" href="reset_8h.html" title="Contains function(s) for resetting the robots.">reset.h</a>"</span>
55
<a name="l00073"></a>00073 <span class="preprocessor">#include "math.h"</span>
56
<a name="l00074"></a>00074 <span class="preprocessor">#include "eeprom.h"</span>
57
<a name="l00075"></a>00075 
58
<a name="l00076"></a>00076 <span class="preprocessor">#include &lt;stddef.h&gt;</span>
59
<a name="l00077"></a>00077 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
60
<a name="l00078"></a>00078 
61
<a name="l00079"></a>00079 <span class="preprocessor">#endif</span>
62
<a name="l00080"></a>00080 <span class="preprocessor"></span>
63
</pre></div></div>
64
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Nov 20 21:51:59 2009 for Colony by&nbsp;
65
<a href="http://www.doxygen.org/index.html">
66
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
67
</body>
68
</html>