⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tos.interfaces.bytecomm.nc.html

📁 tinyos中文手册,是根据tinyos系统自带手册翻译过来的,虽然质量不好,但是对英文不强的人还是有用的
💻 HTML
字号:
<html><head><title>Interface: ByteComm</title></head><body><table BORDER="0" CELLPADDING="3" CELLSPACING="0" width="100%"><tr><td><font size="-1"><b><font color="blue"><a href="apps_p.html">Apps</a></font></b>&nbsp;&nbsp;&nbsp;<b><a href="components_p.html">Components</a></b>&nbsp;&nbsp;&nbsp;<b><a href="interfaces_p.html">Interfaces</a></b>&nbsp;&nbsp;&nbsp;<b><a href="allfiles_p.html">All Files</a></b>&nbsp;&nbsp;&nbsp;<b><a href="index.html">Source Tree</a></b>&nbsp;&nbsp;&nbsp;</font></td><td align="right"><font size="-1">source: <b><a href="tos.interfaces.ByteComm.nc.source">tos.interfaces.ByteComm.nc</a></b></font></td></tr></table><hr><h1 align="center">Interface: ByteComm</h1><p> A byte-level communication interface. It signals byte receptions and provides a split-phased byte send interface. txByteReady states that the component can accept another byte in its queue to send, while txDone states that the send queue has been emptied. <table border="0" cellpadding="0"><tr valign="top"><td><b>Author:</b><td> Jason Hill </td></tr><tr valign="top"><td>&nbsp;</td><td> David Gay </td></tr><tr valign="top"><td>&nbsp;</td><td> Philip Levis</td></tr></table><p><dl><dt>Components providing this interface:<dd>    <a href="tos.system.UART.nc.html">tos.system.UART</a><br>    <a href="tos.system.UARTM.nc.html">tos.system.UARTM</a><br></dl><p><dl><dt>Components requiring this interface:<dd>    <a href="tos.system.FramerM.nc.html">tos.system.FramerM</a><br>    <a href="tos.system.NoCRCPacket.nc.html">tos.system.NoCRCPacket</a><br></dl><p><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Commands</h3></td></tr></table><ul><li>          result_t <b>txByte</b>(uint8_t data)<menu> Transmits a byte over the radio <table border="0" cellpadding="0"></td></tr><tr valign="top"><td><br><b>Parameters:</b></td><td><menu><p STYLE="text-indent: -1cm"><b>data</b> -  the byte to be transmitted </menu></td></tr><tr valign="top"><td><b>Returns:</b></td><td> SUCCESS if successful</td></tr></table></menu><p></ul><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Events</h3></td></tr></table><ul><li>          result_t <b>rxByteReady</b>(uint8_t data, bool error, uint16_t strength)<menu> Notification that the radio is ready to receive another byte <table border="0" cellpadding="0"></td></tr><tr valign="top"><td><br><b>Parameters:</b></td><td><menu><p STYLE="text-indent: -1cm"><b>data</b> -  the byte read from the radio </p><p STYLE="text-indent: -1cm"><b>error</b> -  determines the success of receiving the byte </p><p STYLE="text-indent: -1cm"><b>strength</b> -  the signal strength of the received byte </menu></td></tr><tr valign="top"><td><b>Returns:</b></td><td> SUCCESS if successful</td></tr></table></menu><p><li>          result_t <b>txByteReady</b>(bool success)<menu> Notification that the bus is ready to transmit/queue another byte <table border="0" cellpadding="0"></td></tr><tr valign="top"><td><br><b>Parameters:</b></td><td><menu><p STYLE="text-indent: -1cm"><b>success</b> -  Notification of the successful transmission of the last byte </menu></td></tr><tr valign="top"><td><b>Returns:</b></td><td> SUCCESS if successful</td></tr></table></menu><p><li>          result_t     <a href="#  result_t txDone(void)"><b>txDone</b>    </a>(void)<menu> Notification that the transmission has been completed and the transmit queue has been emptied.</menu><p></ul><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Events - Details</h3></td></tr></table>    <a name="  result_t txDone(void)"></a>        <h4>txDone</h4>          result_t <b>txDone</b>(void)<P><menu> Notification that the transmission has been completed and the transmit queue has been emptied. <table border="0" cellpadding="0"><tr valign="top"><td><b>Returns:</b></td><td> SUCCESS always</td></tr></table></menu>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -