| 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: bitbuf.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 Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
||
| 8 | <h1>bitbuf.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> |
||
| 9 | |||
| 10 | <p> |
||
| 11 | Definition in file <a class="el" href="bitbuf_8c-source.html">bitbuf.c</a>. |
||
| 12 | <p> |
||
| 13 | <code>#include "<a class="el" href="bitbuf_8h-source.html">bitbuf.h</a>"</code><br> |
||
| 14 | |||
| 15 | <p> |
||
| 16 | <a href="bitbuf_8c-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>Functions</h2></td></tr> |
||
| 19 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga1" doxytag="bitbuf.c::bitbufInit"></a> |
||
| 20 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__bitbuf.html#ga1">bitbufInit</a> (BitBuf *bitBuffer, unsigned char *start, unsigned short bytesize)</td></tr> |
||
| 21 | |||
| 22 | <tr><td class="mdescLeft"> </td><td class="mdescRight">initialize a buffer to start at a given address and have given size <br></td></tr> |
||
| 23 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga2" doxytag="bitbuf.c::bitbufGet"></a> |
||
| 24 | unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="group__bitbuf.html#ga2">bitbufGet</a> (BitBuf *bitBuffer)</td></tr> |
||
| 25 | |||
| 26 | <tr><td class="mdescLeft"> </td><td class="mdescRight">get the bit at the current position in the buffer <br></td></tr> |
||
| 27 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga3" doxytag="bitbuf.c::bitbufGetAtIndex"></a> |
||
| 28 | unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="group__bitbuf.html#ga3">bitbufGetAtIndex</a> (BitBuf *bitBuffer, unsigned short bitIndex)</td></tr> |
||
| 29 | |||
| 30 | <tr><td class="mdescLeft"> </td><td class="mdescRight">get a bit at the specified index in the buffer (kind of like array access) <br></td></tr> |
||
| 31 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga4" doxytag="bitbuf.c::bitbufStore"></a> |
||
| 32 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__bitbuf.html#ga4">bitbufStore</a> (BitBuf *bitBuffer, unsigned char bit)</td></tr> |
||
| 33 | |||
| 34 | <tr><td class="mdescLeft"> </td><td class="mdescRight">store a bit at the current position in the buffer <br></td></tr> |
||
| 35 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga6" doxytag="bitbuf.c::bitbufReset"></a> |
||
| 36 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__bitbuf.html#ga6">bitbufReset</a> (BitBuf *bitBuffer)</td></tr> |
||
| 37 | |||
| 38 | <tr><td class="mdescLeft"> </td><td class="mdescRight">resets the read/write position of the buffer to beginning <br></td></tr> |
||
| 39 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga7" doxytag="bitbuf.c::bitbufFlush"></a> |
||
| 40 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__bitbuf.html#ga7">bitbufFlush</a> (BitBuf *bitBuffer)</td></tr> |
||
| 41 | |||
| 42 | <tr><td class="mdescLeft"> </td><td class="mdescRight">flush (clear) the contents of the buffer <br></td></tr> |
||
| 43 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga5" doxytag="bitbuf.c::bitbufGetDataLength"></a> |
||
| 44 | unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="group__bitbuf.html#ga5">bitbufGetDataLength</a> (BitBuf *bitBuffer)</td></tr> |
||
| 45 | |||
| 46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">return the number of bits in the buffer <br></td></tr> |
||
| 47 | </table> |
||
| 48 | <hr size="1"><address style="align: right;"><small>Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by |
||
| 49 | <a href="http://www.doxygen.org/index.html"> |
||
| 50 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address> |
||
| 51 | </body> |
||
| 52 | </html> |
Powered by WebSVN v2.8.3