| 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: xmodem.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>xmodem.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> |
||
| 9 | |||
| 10 | <p> |
||
| 11 | Definition in file <a class="el" href="xmodem_8c-source.html">xmodem.c</a>. |
||
| 12 | <p> |
||
| 13 | <code>#include <string.h></code><br> |
||
| 14 | <code>#include "<a class="el" href="rprintf_8h-source.html">rprintf.h</a>"</code><br> |
||
| 15 | <code>#include "<a class="el" href="timer_8h-source.html">timer.h</a>"</code><br> |
||
| 16 | <code>#include "<a class="el" href="xmodem_8h-source.html">xmodem.h</a>"</code><br> |
||
| 17 | |||
| 18 | <p> |
||
| 19 | <a href="xmodem_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
||
| 20 | <tr><td></td></tr> |
||
| 21 | <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
||
| 22 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0" doxytag="xmodem.c::XMODEM_BUFFER_SIZE"></a> |
||
| 23 | #define </td><td class="memItemRight" valign="bottom"><b>XMODEM_BUFFER_SIZE</b> 1024</td></tr> |
||
| 24 | |||
| 25 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
||
| 26 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga0" doxytag="xmodem.c::xmodemInit"></a> |
||
| 27 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xmodem.html#ga0">xmodemInit</a> (void(*sendbyte_func)(unsigned char c), int(*getbyte_func)(void))</td></tr> |
||
| 28 | |||
| 29 | <tr><td class="mdescLeft"> </td><td class="mdescRight">initialize xmodem stream I/O routines <br></td></tr> |
||
| 30 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga1" doxytag="xmodem.c::xmodemReceive"></a> |
||
| 31 | long </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xmodem.html#ga1">xmodemReceive</a> (int(*write)(unsigned char *buffer, int size))</td></tr> |
||
| 32 | |||
| 33 | <tr><td class="mdescLeft"> </td><td class="mdescRight">xmodem receive <br></td></tr> |
||
| 34 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga2" doxytag="xmodem.c::xmodemTransmit"></a> |
||
| 35 | long </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xmodem.html#ga2">xmodemTransmit</a> (int(*read)(unsigned char *buffer, int size))</td></tr> |
||
| 36 | |||
| 37 | <tr><td class="mdescLeft"> </td><td class="mdescRight">xmodem transmit <br></td></tr> |
||
| 38 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6" doxytag="xmodem.c::crc_xmodem_update"></a> |
||
| 39 | uint16_t </td><td class="memItemRight" valign="bottom"><b>crc_xmodem_update</b> (uint16_t crc, uint8_t data)</td></tr> |
||
| 40 | |||
| 41 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga3" doxytag="xmodem.c::xmodemCrcCheck"></a> |
||
| 42 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xmodem.html#ga3">xmodemCrcCheck</a> (int crcflag, const unsigned char *buffer, int size)</td></tr> |
||
| 43 | |||
| 44 | <tr><td class="mdescLeft"> </td><td class="mdescRight">xmodem CRC/checksum error checking <br></td></tr> |
||
| 45 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga4" doxytag="xmodem.c::xmodemInTime"></a> |
||
| 46 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xmodem.html#ga4">xmodemInTime</a> (unsigned short timeout)</td></tr> |
||
| 47 | |||
| 48 | <tr><td class="mdescLeft"> </td><td class="mdescRight">get incoming character (wait for timeout) <br></td></tr> |
||
| 49 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga5" doxytag="xmodem.c::xmodemInFlush"></a> |
||
| 50 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xmodem.html#ga5">xmodemInFlush</a> (void)</td></tr> |
||
| 51 | |||
| 52 | <tr><td class="mdescLeft"> </td><td class="mdescRight">flush incoming character stream <br></td></tr> |
||
| 53 | </table> |
||
| 54 | <hr size="1"><address style="align: right;"><small>Generated on Sun Oct 29 03:41:09 2006 for Procyon AVRlib by |
||
| 55 | <a href="http://www.doxygen.org/index.html"> |
||
| 56 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address> |
||
| 57 | </body> |
||
| 58 | </html> |
Powered by WebSVN v2.8.3