⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bitbuf_8c.html

📁 ATMEL的AVR单片机库文件
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Procyon AVRlib: bitbuf.c File Reference</title><link href="dox.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.6 --><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="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>bitbuf.c File Reference</h1>Multipurpose bit buffer structure and methods.  <a href="#_details">More...</a><p><code>#include "<a class="el" href="bitbuf_8h-source.html">bitbuf.h</a>"</code><br><p><a href="bitbuf_8c-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a0" doxytag="bitbuf.c::bitbufInit" ></a>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="bitbuf_8c.html#a0">bitbufInit</a> (BitBuf *bitBuffer, unsigned char *start, unsigned short bytesize)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">initialize a buffer to start at a given address and have given size <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a1" doxytag="bitbuf.c::bitbufGet" ></a>unsigned char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="bitbuf_8c.html#a1">bitbufGet</a> (BitBuf *bitBuffer)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the bit at the current position in the buffer <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a2" doxytag="bitbuf.c::bitbufGetAtIndex" ></a>unsigned char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="bitbuf_8c.html#a2">bitbufGetAtIndex</a> (BitBuf *bitBuffer, unsigned short bitIndex)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get a bit at the specified index in the buffer (kind of like array access) <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a3" doxytag="bitbuf.c::bitbufStore" ></a>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="bitbuf_8c.html#a3">bitbufStore</a> (BitBuf *bitBuffer, unsigned char bit)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">store a bit at the current position in the buffer <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a4" doxytag="bitbuf.c::bitbufReset" ></a>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="bitbuf_8c.html#a4">bitbufReset</a> (BitBuf *bitBuffer)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">resets the read/write position of the buffer to beginning <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a5" doxytag="bitbuf.c::bitbufFlush" ></a>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="bitbuf_8c.html#a5">bitbufFlush</a> (BitBuf *bitBuffer)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">flush (clear) the contents of the buffer <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a6" doxytag="bitbuf.c::bitbufGetDataLength" ></a>unsigned short&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="bitbuf_8c.html#a6">bitbufGetDataLength</a> (BitBuf *bitBuffer)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return the number of bits in the buffer <br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Multipurpose bit buffer structure and methods. <p><p>Definition in file <a class="el" href="bitbuf_8c-source.html">bitbuf.c</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Oct 15 03:50:23 2004 for Procyon AVRlib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.6 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -