Project

General

Profile

Revision 1371

Added by Rich Hong over 14 years ago

Remove some unused code in encoders

Also update binary and docs

View differences:

group__usb.html
41 41
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb.html#g6e101f68856f272f67923c4fb35a99e0">usb_puts</a> (char *s)</td></tr>
42 42

  
43 43
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a string to USB.  <a href="#g6e101f68856f272f67923c4fb35a99e0"></a><br></td></tr>
44
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb.html#g774d8b902cae279696c53502168ade07">usb_puts_P</a> (PGM_P s)</td></tr>
45

  
46
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a string from program space to USB.  <a href="#g774d8b902cae279696c53502168ade07"></a><br></td></tr>
44 47
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usb.html#gcd371dedbff10f0c52dca4b3b7af9e3d">usb_puti</a> (int value)</td></tr>
45 48

  
46 49
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print an integer to USB.  <a href="#gcd371dedbff10f0c52dca4b3b7af9e3d"></a><br></td></tr>
......
85 88
</dl>
86 89
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the hexadecimal digit in ASCII code, or '?' if the input is invalid. </dd></dl>
87 90

  
88
<p>Referenced by <a class="el" href="serial_8c-source.html#l00305">usb_puth16()</a>, and <a class="el" href="serial_8c-source.html#l00323">usb_puth8()</a>.</p>
91
<p>Referenced by <a class="el" href="serial_8c-source.html#l00328">usb_puth16()</a>, and <a class="el" href="serial_8c-source.html#l00345">usb_puth8()</a>.</p>
89 92

  
90 93
</div>
91 94
</div><p>
......
112 115
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the first character in the usb buffer</dd></dl>
113 116
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__usb.html#gddfbdb66f507ffcd08b4496531ed0a3d" title="Initialize the USB.">usb_init</a>, <a class="el" href="group__usb.html#g6b1209b19e7fd2bbedc7407e0218453c" title="Read a character from USB without blocking.">usb_getc_nb</a> </dd></dl>
114 117

  
115
<p>Referenced by <a class="el" href="serial_8c-source.html#l00048">usb_init()</a>.</p>
118
<p>Referenced by <a class="el" href="serial_8c-source.html#l00055">usb_init()</a>.</p>
116 119

  
117 120
</div>
118 121
</div><p>
......
166 169
Initialize the USB. 
167 170
<p>
168 171
Initializes communication over the USB serial port. This must be called before any other usb function may be used. 
169
<p>References <a class="el" href="serial_8c-source.html#l00165">usb_getc()</a>, and <a class="el" href="serial_8c-source.html#l00117">usb_putc()</a>.</p>
172
<p>References <a class="el" href="serial_8c-source.html#l00043">usb_fd</a>, <a class="el" href="serial_8c-source.html#l00188">usb_getc()</a>, and <a class="el" href="serial_8c-source.html#l00124">usb_putc()</a>.</p>
170 173

  
171 174
<p>Referenced by <a class="el" href="dragonfly__lib_8c-source.html#l00068">dragonfly_init()</a>.</p>
172 175

  
......
199 202
</dl>
200 203
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 for success, nonzero for failure </dd></dl>
201 204

  
202
<p>Referenced by <a class="el" href="serial_8c-source.html#l00048">usb_init()</a>, <a class="el" href="serial_8c-source.html#l00305">usb_puth16()</a>, <a class="el" href="serial_8c-source.html#l00323">usb_puth8()</a>, <a class="el" href="serial_8c-source.html#l00256">usb_puti()</a>, and <a class="el" href="serial_8c-source.html#l00147">usb_puts()</a>.</p>
205
<p>Referenced by <a class="el" href="serial_8c-source.html#l00055">usb_init()</a>, <a class="el" href="serial_8c-source.html#l00328">usb_puth16()</a>, <a class="el" href="serial_8c-source.html#l00345">usb_puth8()</a>, <a class="el" href="serial_8c-source.html#l00279">usb_puti()</a>, <a class="el" href="serial_8c-source.html#l00154">usb_puts()</a>, and <a class="el" href="serial_8c-source.html#l00168">usb_puts_P()</a>.</p>
203 206

  
204 207
</div>
205 208
</div><p>
......
230 233
</dl>
231 234
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__usb.html#gddfbdb66f507ffcd08b4496531ed0a3d" title="Initialize the USB.">usb_init</a>, <a class="el" href="group__usb.html#gcd371dedbff10f0c52dca4b3b7af9e3d" title="Print an integer to USB.">usb_puti</a>, <a class="el" href="group__usb.html#g6e101f68856f272f67923c4fb35a99e0" title="Print a string to USB.">usb_puts</a>, <a class="el" href="group__usb.html#g21462df541911e0611416e85be6ea34d" title="Print a fixed width hexadecimal representation to USB.">usb_puth8</a>, <a class="el" href="group__usb.html#g94d47853c33da12c71dec155f819cfeb" title="Determine a hexadecimal digit.">hex_digit</a> </dd></dl>
232 235

  
233
<p>References <a class="el" href="serial_8c-source.html#l00288">hex_digit()</a>, and <a class="el" href="serial_8c-source.html#l00117">usb_putc()</a>.</p>
236
<p>References <a class="el" href="serial_8c-source.html#l00311">hex_digit()</a>, and <a class="el" href="serial_8c-source.html#l00124">usb_putc()</a>.</p>
234 237

  
235 238
</div>
236 239
</div><p>
......
261 264
</dl>
262 265
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__usb.html#gddfbdb66f507ffcd08b4496531ed0a3d" title="Initialize the USB.">usb_init</a>, <a class="el" href="group__usb.html#gcd371dedbff10f0c52dca4b3b7af9e3d" title="Print an integer to USB.">usb_puti</a>, <a class="el" href="group__usb.html#g6e101f68856f272f67923c4fb35a99e0" title="Print a string to USB.">usb_puts</a>, <a class="el" href="group__usb.html#g8e7e31f1e45721ac032267b13d0f759b" title="Print a fixed width hexadecimal representation to USB.">usb_puth16</a>, <a class="el" href="group__usb.html#g94d47853c33da12c71dec155f819cfeb" title="Determine a hexadecimal digit.">hex_digit</a> </dd></dl>
263 266

  
264
<p>References <a class="el" href="serial_8c-source.html#l00288">hex_digit()</a>, and <a class="el" href="serial_8c-source.html#l00117">usb_putc()</a>.</p>
267
<p>References <a class="el" href="serial_8c-source.html#l00311">hex_digit()</a>, and <a class="el" href="serial_8c-source.html#l00124">usb_putc()</a>.</p>
265 268

  
266 269
</div>
267 270
</div><p>
......
293 296
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if successful, nonzero otherwise</dd></dl>
294 297
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__usb.html#gddfbdb66f507ffcd08b4496531ed0a3d" title="Initialize the USB.">usb_init</a>, <a class="el" href="group__usb.html#g3ee898cfe59d05c428c56021c2ccf946" title="Print a character to USB.">usb_putc</a> </dd></dl>
295 298

  
296
<p>References <a class="el" href="serial_8c-source.html#l00117">usb_putc()</a>.</p>
299
<p>References <a class="el" href="serial_8c-source.html#l00124">usb_putc()</a>.</p>
297 300

  
298 301
</div>
299 302
</div><p>
......
324 327
</dl>
325 328
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 for success, nonzero for failure </dd></dl>
326 329

  
327
<p>References <a class="el" href="serial_8c-source.html#l00117">usb_putc()</a>.</p>
330
<p>References <a class="el" href="serial_8c-source.html#l00124">usb_putc()</a>.</p>
328 331

  
329 332
</div>
330 333
</div><p>
334
<a class="anchor" name="g774d8b902cae279696c53502168ade07"></a><!-- doxytag: member="serial.h::usb_puts_P" ref="g774d8b902cae279696c53502168ade07" args="(PGM_P s)" -->
335
<div class="memitem">
336
<div class="memproto">
337
      <table class="memname">
338
        <tr>
339
          <td class="memname">void usb_puts_P           </td>
340
          <td>(</td>
341
          <td class="paramtype">PGM_P&nbsp;</td>
342
          <td class="paramname"> <em>s</em>          </td>
343
          <td>&nbsp;)&nbsp;</td>
344
          <td width="100%"></td>
345
        </tr>
346
      </table>
331 347
</div>
332
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Apr 16 18:33:23 2009 for libdragonfly by&nbsp;
348
<div class="memdoc">
349

  
350
<p>
351
Print a string from program space to USB. 
352
<p>
353
Sends a sequence of characters from program space over USB.<p>
354
<dl compact><dt><b>Parameters:</b></dt><dd>
355
  <table border="0" cellspacing="2" cellpadding="0">
356
    <tr><td valign="top"></td><td valign="top"><em>s</em>&nbsp;</td><td>the string to send </td></tr>
357
  </table>
358
</dl>
359

  
360
<p>References <a class="el" href="serial_8c-source.html#l00124">usb_putc()</a>.</p>
361

  
362
</div>
363
</div><p>
364
</div>
365
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Sep 2 23:20:09 2009 for libdragonfly by&nbsp;
333 366
<a href="http://www.doxygen.org/index.html">
334 367
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
335 368
</body>

Also available in: Unified diff