?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: ads7828.h 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>ads7828.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
9  
10 <p>
11 Definition in file <a class="el" href="ads7828_8h-source.html">ads7828.h</a>.
12 <p>
13 <code>#include "<a class="el" href="global_8h-source.html">global.h</a>"</code><br>
14  
15 <p>
16 <a href="ads7828_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
17 <tr><td></td></tr>
18 <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
19 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga5" doxytag="ads7828.h::ADS7828_I2C_ADDR"></a>
20 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga5">ADS7828_I2C_ADDR</a>&nbsp;&nbsp;&nbsp;0x90</td></tr>
21  
22 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Base I2C address of ADS7828 devices. <br></td></tr>
23 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga6" doxytag="ads7828.h::ADS7828_CMD_PD0"></a>
24 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga6">ADS7828_CMD_PD0</a>&nbsp;&nbsp;&nbsp;0x04</td></tr>
25  
26 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Power-down bit 0. <br></td></tr>
27 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga7" doxytag="ads7828.h::ADS7828_CMD_PD1"></a>
28 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga7">ADS7828_CMD_PD1</a>&nbsp;&nbsp;&nbsp;0x08</td></tr>
29  
30 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Power-down bit 1. <br></td></tr>
31 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga8" doxytag="ads7828.h::ADS7828_CMD_C0"></a>
32 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga8">ADS7828_CMD_C0</a>&nbsp;&nbsp;&nbsp;0x10</td></tr>
33  
34 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Channel Select bit 0. <br></td></tr>
35 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga9" doxytag="ads7828.h::ADS7828_CMD_C1"></a>
36 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga9">ADS7828_CMD_C1</a>&nbsp;&nbsp;&nbsp;0x20</td></tr>
37  
38 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Channel Select bit 1. <br></td></tr>
39 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga10" doxytag="ads7828.h::ADS7828_CMD_C2"></a>
40 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga10">ADS7828_CMD_C2</a>&nbsp;&nbsp;&nbsp;0x40</td></tr>
41  
42 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Channel Select bit 2. <br></td></tr>
43 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga11" doxytag="ads7828.h::ADS7828_CMD_SD"></a>
44 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga11">ADS7828_CMD_SD</a>&nbsp;&nbsp;&nbsp;0x80</td></tr>
45  
46 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Single-ended/Differential Select bit. <br></td></tr>
47 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga12" doxytag="ads7828.h::ADS7828_CMD_CH0"></a>
48 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga12">ADS7828_CMD_CH0</a>&nbsp;&nbsp;&nbsp;0x00</td></tr>
49  
50 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Convert Channel 0. <br></td></tr>
51 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga13" doxytag="ads7828.h::ADS7828_CMD_CH1"></a>
52 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga13">ADS7828_CMD_CH1</a>&nbsp;&nbsp;&nbsp;0x04</td></tr>
53  
54 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Convert Channel 1. <br></td></tr>
55 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga14" doxytag="ads7828.h::ADS7828_CMD_CH2"></a>
56 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga14">ADS7828_CMD_CH2</a>&nbsp;&nbsp;&nbsp;0x01</td></tr>
57  
58 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Convert Channel 2. <br></td></tr>
59 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga15" doxytag="ads7828.h::ADS7828_CMD_CH3"></a>
60 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga15">ADS7828_CMD_CH3</a>&nbsp;&nbsp;&nbsp;0x05</td></tr>
61  
62 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Convert Channel 3. <br></td></tr>
63 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga16" doxytag="ads7828.h::ADS7828_CMD_CH4"></a>
64 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga16">ADS7828_CMD_CH4</a>&nbsp;&nbsp;&nbsp;0x02</td></tr>
65  
66 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Convert Channel 4. <br></td></tr>
67 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga17" doxytag="ads7828.h::ADS7828_CMD_CH5"></a>
68 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga17">ADS7828_CMD_CH5</a>&nbsp;&nbsp;&nbsp;0x06</td></tr>
69  
70 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Convert Channel 5. <br></td></tr>
71 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga18" doxytag="ads7828.h::ADS7828_CMD_CH6"></a>
72 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga18">ADS7828_CMD_CH6</a>&nbsp;&nbsp;&nbsp;0x03</td></tr>
73  
74 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Convert Channel 6. <br></td></tr>
75 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga19" doxytag="ads7828.h::ADS7828_CMD_CH7"></a>
76 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga19">ADS7828_CMD_CH7</a>&nbsp;&nbsp;&nbsp;0x07</td></tr>
77  
78 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Convert Channel 7. <br></td></tr>
79 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga20" doxytag="ads7828.h::ADS7828_CMD_PDMODE0"></a>
80 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga20">ADS7828_CMD_PDMODE0</a>&nbsp;&nbsp;&nbsp;0x00</td></tr>
81  
82 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Power-down Mode 0. <br></td></tr>
83 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga21" doxytag="ads7828.h::ADS7828_CMD_PDMODE1"></a>
84 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga21">ADS7828_CMD_PDMODE1</a>&nbsp;&nbsp;&nbsp;0x04</td></tr>
85  
86 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Power-down Mode 1. <br></td></tr>
87 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga22" doxytag="ads7828.h::ADS7828_CMD_PDMODE2"></a>
88 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga22">ADS7828_CMD_PDMODE2</a>&nbsp;&nbsp;&nbsp;0x08</td></tr>
89  
90 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Power-down Mode 2. <br></td></tr>
91 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga23" doxytag="ads7828.h::ADS7828_CMD_PDMODE3"></a>
92 #define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga23">ADS7828_CMD_PDMODE3</a>&nbsp;&nbsp;&nbsp;0x0C</td></tr>
93  
94 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADS7828 Power-down Mode 3. <br></td></tr>
95 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
96 <tr><td class="memItemLeft" nowrap align="right" valign="top">u08&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga0">ads7828Init</a> (u08 i2cAddr)</td></tr>
97  
98 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga1">ads7828SetReference</a> (u08 ref)</td></tr>
99  
100 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga2" doxytag="ads7828.h::ads7828Convert"></a>
101 u16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga2">ads7828Convert</a> (u08 i2cAddr, u08 channel)</td></tr>
102  
103 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Begin single-ended conversion on given logical channel#, and return result. <br></td></tr>
104 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga3" doxytag="ads7828.h::ads7828ConvertDiff"></a>
105 u16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga3">ads7828ConvertDiff</a> (u08 i2cAddr, u08 channel)</td></tr>
106  
107 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Begin differential conversion on given channel pair, and return result. <br></td></tr>
108 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga4" doxytag="ads7828.h::ads7828ConvertRaw"></a>
109 u16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ads7828.html#ga4">ads7828ConvertRaw</a> (u08 i2cAddr, u08 channel)</td></tr>
110  
111 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Begin conversion on given raw channel#, and return result. <br></td></tr>
112 </table>
113 <hr size="1"><address style="align: right;"><small>Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by&nbsp;
114 <a href="http://www.doxygen.org/index.html">
115 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address>
116 </body>
117 </html>
{BLAME END}
{FOOTER START}

Powered by WebSVN v2.8.3