Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 5 gadiem
pirms 5 gadiem
pirms 5 gadiem
pirms 5 gadiem
pirms 5 gadiem
pirms 5 gadiem
pirms 5 gadiem
pirms 5 gadiem
pirms 5 gadiem
pirms 5 gadiem
pirms 5 gadiem
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.16"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>SdFat: MinimumSerial Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">SdFat
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.16 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. </div><!-- top -->
  61. <div class="header">
  62. <div class="summary">
  63. <a href="#pub-methods">Public Member Functions</a> &#124;
  64. <a href="class_minimum_serial-members.html">List of all members</a> </div>
  65. <div class="headertitle">
  66. <div class="title">MinimumSerial Class Reference</div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <p>mini serial class for the SdFat library.
  70. <a href="class_minimum_serial.html#details">More...</a></p>
  71. <p><code>#include &lt;MinimumSerial.h&gt;</code></p>
  72. <div class="dynheader">
  73. Inheritance diagram for MinimumSerial:</div>
  74. <div class="dyncontent">
  75. <div class="center"><img src="class_minimum_serial__inherit__graph.png" border="0" usemap="#_minimum_serial_inherit__map" alt="Inheritance graph"/></div>
  76. <map name="_minimum_serial_inherit__map" id="_minimum_serial_inherit__map">
  77. <area shape="rect" title="mini serial class for the SdFat library." alt="" coords="5,80,113,107"/>
  78. <area shape="rect" title=" " alt="" coords="30,5,89,32"/>
  79. </map>
  80. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  81. <div class="dynheader">
  82. Collaboration diagram for MinimumSerial:</div>
  83. <div class="dyncontent">
  84. <div class="center"><img src="class_minimum_serial__coll__graph.png" border="0" usemap="#_minimum_serial_coll__map" alt="Collaboration graph"/></div>
  85. <map name="_minimum_serial_coll__map" id="_minimum_serial_coll__map">
  86. <area shape="rect" title="mini serial class for the SdFat library." alt="" coords="5,80,113,107"/>
  87. <area shape="rect" title=" " alt="" coords="30,5,89,32"/>
  88. </map>
  89. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  90. <table class="memberdecls">
  91. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  92. Public Member Functions</h2></td></tr>
  93. <tr class="memitem:a2abe4370989968938b5dc4872d51c3df"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_minimum_serial.html#a2abe4370989968938b5dc4872d51c3df">available</a> ()</td></tr>
  94. <tr class="separator:a2abe4370989968938b5dc4872d51c3df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <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>
  96. <tr class="separator:a5c56beb3472bb97f949defeecacda52c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a872f0ff70f0e256352004f83d13fff28"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_minimum_serial.html#a872f0ff70f0e256352004f83d13fff28">flush</a> ()</td></tr>
  98. <tr class="separator:a872f0ff70f0e256352004f83d13fff28"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:a73a1a2a92604ecb8507afde0022aedd8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_minimum_serial.html#a73a1a2a92604ecb8507afde0022aedd8">operator bool</a> ()</td></tr>
  100. <tr class="separator:a73a1a2a92604ecb8507afde0022aedd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <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>
  102. <tr class="separator:a4890dd60f2ffb61eba0821cc80d411ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <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>
  104. <tr class="separator:a0ca1d9631fe5f2f00878bd481dbbd3aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. </table>
  106. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  107. <div class="textblock"><p>mini serial class for the SdFat library. </p>
  108. </div><h2 class="groupheader">Member Function Documentation</h2>
  109. <a id="a2abe4370989968938b5dc4872d51c3df"></a>
  110. <h2 class="memtitle"><span class="permalink"><a href="#a2abe4370989968938b5dc4872d51c3df">&#9670;&nbsp;</a></span>available()</h2>
  111. <div class="memitem">
  112. <div class="memproto">
  113. <table class="memname">
  114. <tr>
  115. <td class="memname">int MinimumSerial::available </td>
  116. <td>(</td>
  117. <td class="paramname"></td><td>)</td>
  118. <td></td>
  119. </tr>
  120. </table>
  121. </div><div class="memdoc">
  122. <dl class="section return"><dt>Returns</dt><dd>one if data is available. </dd></dl>
  123. </div>
  124. </div>
  125. <a id="a5c56beb3472bb97f949defeecacda52c"></a>
  126. <h2 class="memtitle"><span class="permalink"><a href="#a5c56beb3472bb97f949defeecacda52c">&#9670;&nbsp;</a></span>begin()</h2>
  127. <div class="memitem">
  128. <div class="memproto">
  129. <table class="memname">
  130. <tr>
  131. <td class="memname">void MinimumSerial::begin </td>
  132. <td>(</td>
  133. <td class="paramtype">uint32_t&#160;</td>
  134. <td class="paramname"><em>baud</em></td><td>)</td>
  135. <td></td>
  136. </tr>
  137. </table>
  138. </div><div class="memdoc">
  139. <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><dl class="params"><dt>Parameters</dt><dd>
  140. <table class="params">
  141. <tr><td class="paramdir">[in]</td><td class="paramname">baud</td><td>rate </td></tr>
  142. </table>
  143. </dd>
  144. </dl>
  145. </div>
  146. </div>
  147. <a id="a872f0ff70f0e256352004f83d13fff28"></a>
  148. <h2 class="memtitle"><span class="permalink"><a href="#a872f0ff70f0e256352004f83d13fff28">&#9670;&nbsp;</a></span>flush()</h2>
  149. <div class="memitem">
  150. <div class="memproto">
  151. <table class="memname">
  152. <tr>
  153. <td class="memname">void MinimumSerial::flush </td>
  154. <td>(</td>
  155. <td class="paramname"></td><td>)</td>
  156. <td></td>
  157. </tr>
  158. </table>
  159. </div><div class="memdoc">
  160. <p>Wait for write done. </p>
  161. </div>
  162. </div>
  163. <a id="a73a1a2a92604ecb8507afde0022aedd8"></a>
  164. <h2 class="memtitle"><span class="permalink"><a href="#a73a1a2a92604ecb8507afde0022aedd8">&#9670;&nbsp;</a></span>operator bool()</h2>
  165. <div class="memitem">
  166. <div class="memproto">
  167. <table class="mlabels">
  168. <tr>
  169. <td class="mlabels-left">
  170. <table class="memname">
  171. <tr>
  172. <td class="memname">MinimumSerial::operator bool </td>
  173. <td>(</td>
  174. <td class="paramname"></td><td>)</td>
  175. <td></td>
  176. </tr>
  177. </table>
  178. </td>
  179. <td class="mlabels-right">
  180. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  181. </tr>
  182. </table>
  183. </div><div class="memdoc">
  184. <dl class="section return"><dt>Returns</dt><dd>true for hardware serial </dd></dl>
  185. </div>
  186. </div>
  187. <a id="a4890dd60f2ffb61eba0821cc80d411ad"></a>
  188. <h2 class="memtitle"><span class="permalink"><a href="#a4890dd60f2ffb61eba0821cc80d411ad">&#9670;&nbsp;</a></span>read()</h2>
  189. <div class="memitem">
  190. <div class="memproto">
  191. <table class="memname">
  192. <tr>
  193. <td class="memname">int MinimumSerial::read </td>
  194. <td>(</td>
  195. <td class="paramname"></td><td>)</td>
  196. <td></td>
  197. </tr>
  198. </table>
  199. </div><div class="memdoc">
  200. <p>Unbuffered read </p><dl class="section return"><dt>Returns</dt><dd>-1 if no character is available or an available character. </dd></dl>
  201. </div>
  202. </div>
  203. <a id="a0ca1d9631fe5f2f00878bd481dbbd3aa"></a>
  204. <h2 class="memtitle"><span class="permalink"><a href="#a0ca1d9631fe5f2f00878bd481dbbd3aa">&#9670;&nbsp;</a></span>write()</h2>
  205. <div class="memitem">
  206. <div class="memproto">
  207. <table class="memname">
  208. <tr>
  209. <td class="memname">size_t MinimumSerial::write </td>
  210. <td>(</td>
  211. <td class="paramtype">uint8_t&#160;</td>
  212. <td class="paramname"><em>b</em></td><td>)</td>
  213. <td></td>
  214. </tr>
  215. </table>
  216. </div><div class="memdoc">
  217. <p>Unbuffered write</p>
  218. <dl class="params"><dt>Parameters</dt><dd>
  219. <table class="params">
  220. <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>byte to write. </td></tr>
  221. </table>
  222. </dd>
  223. </dl>
  224. <dl class="section return"><dt>Returns</dt><dd>1 </dd></dl>
  225. </div>
  226. </div>
  227. <hr/>The documentation for this class was generated from the following files:<ul>
  228. <li>ArduinoSdFat/libraries/SdFat/src/<a class="el" href="_minimum_serial_8h.html">MinimumSerial.h</a></li>
  229. <li>ArduinoSdFat/libraries/SdFat/src/MinimumSerial.cpp</li>
  230. </ul>
  231. </div><!-- contents -->
  232. <!-- start footer part -->
  233. <hr class="footer"/><address class="footer"><small>
  234. Generated on Fri Dec 6 2019 09:45:12 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  235. <img class="footer" src="doxygen.png" alt="doxygen"/>
  236. </a> 1.8.16
  237. </small></address>
  238. </body>
  239. </html>