<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.6"/> <title>SdFat: MinimumSerial Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">SdFat </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.6 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="class_minimum_serial-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">MinimumSerial Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>mini serial class for the SdFat library. <a href="class_minimum_serial.html#details">More...</a></p> <p><code>#include <MinimumSerial.h></code></p> <div class="dynheader"> Inheritance diagram for MinimumSerial:</div> <div class="dyncontent"> <div class="center"><img src="class_minimum_serial__inherit__graph.png" border="0" usemap="#_minimum_serial_inherit__map" alt="Inheritance graph"/></div> <map name="_minimum_serial_inherit__map" id="_minimum_serial_inherit__map"> </map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for MinimumSerial:</div> <div class="dyncontent"> <div class="center"><img src="class_minimum_serial__coll__graph.png" border="0" usemap="#_minimum_serial_coll__map" alt="Collaboration graph"/></div> <map name="_minimum_serial_coll__map" id="_minimum_serial_coll__map"> </map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a5c56beb3472bb97f949defeecacda52c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_minimum_serial.html#a5c56beb3472bb97f949defeecacda52c">begin</a> (uint32_t baud)</td></tr> <tr class="separator:a5c56beb3472bb97f949defeecacda52c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4890dd60f2ffb61eba0821cc80d411ad"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_minimum_serial.html#a4890dd60f2ffb61eba0821cc80d411ad">read</a> ()</td></tr> <tr class="separator:a4890dd60f2ffb61eba0821cc80d411ad"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0ca1d9631fe5f2f00878bd481dbbd3aa"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_minimum_serial.html#a0ca1d9631fe5f2f00878bd481dbbd3aa">write</a> (uint8_t b)</td></tr> <tr class="separator:a0ca1d9631fe5f2f00878bd481dbbd3aa"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>mini serial class for the SdFat library. </p> </div><h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a5c56beb3472bb97f949defeecacda52c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void MinimumSerial::begin </td> <td>(</td> <td class="paramtype">uint32_t </td> <td class="paramname"><em>baud</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <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> <table class="params"> <tr><td class="paramdir">[in]</td><td class="paramname">baud</td><td>rate </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a4890dd60f2ffb61eba0821cc80d411ad"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int MinimumSerial::read </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Unbuffered read </p> <dl class="section return"><dt>Returns</dt><dd>-1 if no character is available or an available character. </dd></dl> </div> </div> <a class="anchor" id="a0ca1d9631fe5f2f00878bd481dbbd3aa"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t MinimumSerial::write </td> <td>(</td> <td class="paramtype">uint8_t </td> <td class="paramname"><em>b</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Unbuffered write</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>byte to write. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>1 </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>Arduino/libraries/SdFat/<a class="el" href="_minimum_serial_8h.html">MinimumSerial.h</a></li> <li>Arduino/libraries/SdFat/<a class="el" href="_minimum_serial_8cpp.html">MinimumSerial.cpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 24 2014 05:45:13 for SdFat by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.6 </small></address> </body> </html>