📄 tos.interfaces.intoutput.nc.html
字号:
<html><head><title>Interface: IntOutput</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> <b><a href="components_p.html">Components</a></b> <b><a href="interfaces_p.html">Interfaces</a></b> <b><a href="allfiles_p.html">All Files</a></b> <b><a href="index.html">Source Tree</a></b> </font></td><td align="right"><font size="-1">source: <b><a href="tos.interfaces.IntOutput.nc.source">tos.interfaces.IntOutput.nc</a></b></font></td></tr></table><hr><h1 align="center">Interface: IntOutput</h1><p> Interface to an abstract ouput mechanism for integers. Two examples of providers of this interface are IntToRfm and IntToLeds. <table border="0" cellpadding="0"><tr valign="top"><td><b>Author:</b><td> Jason Hill </td></tr><tr valign="top"><td> </td><td> David Gay </td></tr><tr valign="top"><td> </td><td> Philip Levis </td></tr><tr valign="top"><td> </td><td> Nelson Lee</td></tr></table><p><dl><dt>Components providing this interface:<dd> <a href="tos.lib.Counters.IntToRfm.nc.html">tos.lib.Counters.IntToRfm</a><br> <a href="tos.lib.Counters.IntToRfmM.nc.html">tos.lib.Counters.IntToRfmM</a><br></dl><p><dl><dt>Components requiring this interface:<dd> <a href="tos.lib.Counters.SenseToInt.nc.html">tos.lib.Counters.SenseToInt</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 <a href="# result_t output(uint16_t value)"><b>output</b> </a>(uint16_t value)<menu> Output the given integer.</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 <a href="# result_t outputComplete(result_t success)"><b>outputComplete</b> </a>(result_t success)<menu> Signal that the ouput operation has completed; success states whether the operation was successful or not.</menu><p></ul><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Commands - Details</h3></td></tr></table> <a name=" result_t output(uint16_t value)"></a> <h4>output</h4> result_t <b>output</b>(uint16_t value)<P><menu> Output the given integer. <table border="0" cellpadding="0"><tr valign="top"><td><b>Returns:</b></td><td> SUCCESS if the value will be output, FAIL otherwise.</td></tr></table></menu><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Events - Details</h3></td></tr></table> <a name=" result_t outputComplete(result_t success)"></a> <h4>outputComplete</h4> result_t <b>outputComplete</b>(result_t success)<P><menu> Signal that the ouput operation has completed; success states whether the operation was successful or not. <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 + -