Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

class_minimum_serial.html 6.9KB

10 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.6"/>
  7. <title>SdFat: MinimumSerial Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">SdFat
  21. </div>
  22. </td>
  23. </tr>
  24. </tbody>
  25. </table>
  26. </div>
  27. <!-- end header part -->
  28. <!-- Generated by Doxygen 1.8.6 -->
  29. <div id="navrow1" class="tabs">
  30. <ul class="tablist">
  31. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  32. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  33. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  34. <li><a href="files.html"><span>Files</span></a></li>
  35. </ul>
  36. </div>
  37. <div id="navrow2" class="tabs2">
  38. <ul class="tablist">
  39. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  40. <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
  41. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  42. </ul>
  43. </div>
  44. </div><!-- top -->
  45. <div class="header">
  46. <div class="summary">
  47. <a href="#pub-methods">Public Member Functions</a> &#124;
  48. <a href="class_minimum_serial-members.html">List of all members</a> </div>
  49. <div class="headertitle">
  50. <div class="title">MinimumSerial Class Reference</div> </div>
  51. </div><!--header-->
  52. <div class="contents">
  53. <p>mini serial class for the SdFat library.
  54. <a href="class_minimum_serial.html#details">More...</a></p>
  55. <p><code>#include &lt;MinimumSerial.h&gt;</code></p>
  56. <div class="dynheader">
  57. Inheritance diagram for MinimumSerial:</div>
  58. <div class="dyncontent">
  59. <div class="center"><img src="class_minimum_serial__inherit__graph.png" border="0" usemap="#_minimum_serial_inherit__map" alt="Inheritance graph"/></div>
  60. <map name="_minimum_serial_inherit__map" id="_minimum_serial_inherit__map">
  61. </map>
  62. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  63. <div class="dynheader">
  64. Collaboration diagram for MinimumSerial:</div>
  65. <div class="dyncontent">
  66. <div class="center"><img src="class_minimum_serial__coll__graph.png" border="0" usemap="#_minimum_serial_coll__map" alt="Collaboration graph"/></div>
  67. <map name="_minimum_serial_coll__map" id="_minimum_serial_coll__map">
  68. </map>
  69. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  70. <table class="memberdecls">
  71. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  72. Public Member Functions</h2></td></tr>
  73. <tr class="memitem:a5c56beb3472bb97f949defeecacda52c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_minimum_serial.html#a5c56beb3472bb97f949defeecacda52c">begin</a> (uint32_t baud)</td></tr>
  74. <tr class="separator:a5c56beb3472bb97f949defeecacda52c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:a4890dd60f2ffb61eba0821cc80d411ad"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_minimum_serial.html#a4890dd60f2ffb61eba0821cc80d411ad">read</a> ()</td></tr>
  76. <tr class="separator:a4890dd60f2ffb61eba0821cc80d411ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. <tr class="memitem:a0ca1d9631fe5f2f00878bd481dbbd3aa"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_minimum_serial.html#a0ca1d9631fe5f2f00878bd481dbbd3aa">write</a> (uint8_t b)</td></tr>
  78. <tr class="separator:a0ca1d9631fe5f2f00878bd481dbbd3aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. </table>
  80. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  81. <div class="textblock"><p>mini serial class for the SdFat library. </p>
  82. </div><h2 class="groupheader">Member Function Documentation</h2>
  83. <a class="anchor" id="a5c56beb3472bb97f949defeecacda52c"></a>
  84. <div class="memitem">
  85. <div class="memproto">
  86. <table class="memname">
  87. <tr>
  88. <td class="memname">void MinimumSerial::begin </td>
  89. <td>(</td>
  90. <td class="paramtype">uint32_t&#160;</td>
  91. <td class="paramname"><em>baud</em></td><td>)</td>
  92. <td></td>
  93. </tr>
  94. </table>
  95. </div><div class="memdoc">
  96. <p>Set baud rate for serial port zero and enable in non interrupt mode. Do not call this function if you use another serial library. </p>
  97. <dl class="params"><dt>Parameters</dt><dd>
  98. <table class="params">
  99. <tr><td class="paramdir">[in]</td><td class="paramname">baud</td><td>rate </td></tr>
  100. </table>
  101. </dd>
  102. </dl>
  103. </div>
  104. </div>
  105. <a class="anchor" id="a4890dd60f2ffb61eba0821cc80d411ad"></a>
  106. <div class="memitem">
  107. <div class="memproto">
  108. <table class="memname">
  109. <tr>
  110. <td class="memname">int MinimumSerial::read </td>
  111. <td>(</td>
  112. <td class="paramname"></td><td>)</td>
  113. <td></td>
  114. </tr>
  115. </table>
  116. </div><div class="memdoc">
  117. <p>Unbuffered read </p>
  118. <dl class="section return"><dt>Returns</dt><dd>-1 if no character is available or an available character. </dd></dl>
  119. </div>
  120. </div>
  121. <a class="anchor" id="a0ca1d9631fe5f2f00878bd481dbbd3aa"></a>
  122. <div class="memitem">
  123. <div class="memproto">
  124. <table class="memname">
  125. <tr>
  126. <td class="memname">size_t MinimumSerial::write </td>
  127. <td>(</td>
  128. <td class="paramtype">uint8_t&#160;</td>
  129. <td class="paramname"><em>b</em></td><td>)</td>
  130. <td></td>
  131. </tr>
  132. </table>
  133. </div><div class="memdoc">
  134. <p>Unbuffered write</p>
  135. <dl class="params"><dt>Parameters</dt><dd>
  136. <table class="params">
  137. <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>byte to write. </td></tr>
  138. </table>
  139. </dd>
  140. </dl>
  141. <dl class="section return"><dt>Returns</dt><dd>1 </dd></dl>
  142. </div>
  143. </div>
  144. <hr/>The documentation for this class was generated from the following files:<ul>
  145. <li>Arduino/libraries/SdFat/<a class="el" href="_minimum_serial_8h.html">MinimumSerial.h</a></li>
  146. <li>Arduino/libraries/SdFat/<a class="el" href="_minimum_serial_8cpp.html">MinimumSerial.cpp</a></li>
  147. </ul>
  148. </div><!-- contents -->
  149. <!-- start footer part -->
  150. <hr class="footer"/><address class="footer"><small>
  151. Generated on Fri Oct 24 2014 05:45:13 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  152. <img class="footer" src="doxygen.png" alt="doxygen"/>
  153. </a> 1.8.6
  154. </small></address>
  155. </body>
  156. </html>