?lang_form? ?lang_select? ?lang_submit? ?lang_endform?
{HEADER END}
{BLAME START}

library

?curdirlinks? -

Blame information for rev 6

Line No. Rev Author Line
1 6 kaklik <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>Procyon AVRlib: lis3l02.c File Reference</title>
4 <link href="dox.css" rel="stylesheet" type="text/css">
5 </head><body>
6 <!-- Generated by Doxygen 1.4.2 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
8 <h1>lis3l02.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
9  
10 <p>
11 Definition in file <a class="el" href="lis3l02_8c-source.html">lis3l02.c</a>.
12 <p>
13 <code>#include &lt;avr/io.h&gt;</code><br>
14 <code>#include &lt;avr/interrupt.h&gt;</code><br>
15 <code>#include "<a class="el" href="global_8h-source.html">global.h</a>"</code><br>
16 <code>#include "<a class="el" href="i2c_8h-source.html">i2c.h</a>"</code><br>
17 <code>#include "<a class="el" href="lis3l02_8h-source.html">lis3l02.h</a>"</code><br>
18 <code>#include "<a class="el" href="rprintf_8h-source.html">rprintf.h</a>"</code><br>
19 <code>#include "<a class="el" href="timer_8h-source.html">timer.h</a>"</code><br>
20  
21 <p>
22 <a href="lis3l02_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
23 <tr><td></td></tr>
24 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
25 <tr><td class="memItemLeft" nowrap align="right" valign="top">u08&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lis3l02_8c.html#a0">lis3l02Init</a> (void)</td></tr>
26  
27 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="lis3l02.c::lis3l02Reset"></a>
28 u08&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lis3l02_8c.html#a1">lis3l02Reset</a> (void)</td></tr>
29  
30 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reset the LIS3L02 chip. <br></td></tr>
31 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="lis3l02.c::lis3l02ReadReg"></a>
32 u08&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lis3l02_8c.html#a2">lis3l02ReadReg</a> (u08 reg)</td></tr>
33  
34 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read a LIS3L02 register. <br></td></tr>
35 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="lis3l02.c::lis3l02WriteReg"></a>
36 u08&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lis3l02_8c.html#a3">lis3l02WriteReg</a> (u08 reg, u08 data)</td></tr>
37  
38 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Write a LIS3L02 register. <br></td></tr>
39 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="lis3l02.c::lis3l02GetAccel"></a>
40 s16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lis3l02_8c.html#a4">lis3l02GetAccel</a> (u08 chxyz)</td></tr>
41  
42 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get an acceleration reading from the LIS3L02 sensor. <br></td></tr>
43 </table>
44 <hr><h2>Function Documentation</h2>
45 <a class="anchor" name="a0" doxytag="lis3l02.c::lis3l02Init"></a><p>
46 <table class="mdTable" cellpadding="2" cellspacing="0">
47 <tr>
48 <td class="mdRow">
49 <table cellpadding="0" cellspacing="0" border="0">
50 <tr>
51 <td class="md" nowrap valign="top">u08 lis3l02Init </td>
52 <td class="md" valign="top">(&nbsp;</td>
53 <td class="md" nowrap valign="top">void&nbsp;</td>
54 <td class="mdname1" valign="top" nowrap> </td>
55 <td class="md" valign="top">&nbsp;)&nbsp;</td>
56 <td class="md" nowrap></td>
57 </tr>
58 </table>
59 </td>
60 </tr>
61 </table>
62 <table cellspacing="5" cellpadding="0" border="0">
63 <tr>
64 <td>
65 &nbsp;
66 </td>
67 <td>
68  
69 <p>
70 Initialize the LIS3L02 chip. returns: 0 if successful, non-zero if unsuccessful (chip not present).
71 <p>
72 Definition at line <a class="el" href="lis3l02_8c-source.html#l00035">35</a> of file <a class="el" href="lis3l02_8c-source.html">lis3l02.c</a>. </td>
73 </tr>
74 </table>
75 <hr size="1"><address style="align: right;"><small>Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by&nbsp;
76 <a href="http://www.doxygen.org/index.html">
77 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address>
78 </body>
79 </html>
{BLAME END}
{FOOTER START}

Powered by WebSVN v2.8.3