📄 tos.platform.mica.i2cm.nc.html
字号:
<html><head><title>Component: I2CM</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.platform.mica.I2CM.nc.source">tos.platform.mica.I2CM.nc</a></b></font></td></tr></table><hr><h1 align="center">Component: I2CM</h1><p> <table border="0" cellpadding="0"><tr valign="top"><td><b>Author:</b><td> Joe Polastre </td></tr><tr valign="top"><td> </td><td> Rob Szewczyk </td></tr></table><p><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Provided Interfaces</h3></td></tr></table><ul><li> <a href="tos.interfaces.StdControl.nc.html">StdControl</a> <li> <a href="tos.interfaces.I2C.nc.html">I2C</a> </ul><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Variables</h3></td></tr></table><ul><li> char state<li> char local_data<li> result_t result</ul><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Function Index</h3></td></tr></table><ul><li> void <b>wait</b>(void)<li> void <b>SET_CLOCK</b>(void)<li> void <b>CLEAR_CLOCK</b>(void)<li> void <b>MAKE_CLOCK_OUTPUT</b>(void)<li> void <b>MAKE_CLOCK_INPUT</b>(void)<li> void <b>SET_DATA</b>(void)<li> void <b>CLEAR_DATA</b>(void)<li> void <b>MAKE_DATA_OUTPUT</b>(void)<li> void <b>MAKE_DATA_INPUT</b>(void)<li> char <b>GET_DATA</b>(void)<li> void <b>pulse_clock</b>(void)<li> char <b>read_bit</b>(void)<li> char <b>i2c_read</b>(void)<li> char <b>i2c_write</b>(char c)<li> void <b>i2c_start</b>(void)<li> void <b>i2c_ack</b>(void)<li> void <b>i2c_nack</b>(void)<li> void <b>i2c_end</b>(void)<li> task void <b>I2C_task</b>(void)<li> command result_t <a href="tos.interfaces.StdControl.nc.html#command result_t StdControl.init(void)"><b>StdControl.init</b> </a>(void)<li> command result_t <a href="tos.interfaces.StdControl.nc.html#command result_t StdControl.start(void)"><b>StdControl.start</b> </a>(void)<li> command result_t <a href="tos.interfaces.StdControl.nc.html#command result_t StdControl.stop(void)"><b>StdControl.stop</b> </a>(void)<li> command result_t <a href="tos.interfaces.I2C.nc.html#command result_t I2C.sendStart(void)"><b>I2C.sendStart</b> </a>(void)<li> command result_t <a href="tos.interfaces.I2C.nc.html#command result_t I2C.sendEnd(void)"><b>I2C.sendEnd</b> </a>(void)<li> command result_t <a href="tos.interfaces.I2C.nc.html#command result_t I2C.read(bool ack)"><b>I2C.read</b> </a>(bool ack)<li> command result_t <a href="tos.interfaces.I2C.nc.html#command result_t I2C.write(char data)"><b>I2C.write</b> </a>(char data)<li> event result_t <a href="tos.interfaces.I2C.nc.html# event result_t I2C.sendStartDone(void)"><b>I2C.sendStartDone</b> </a>(void)<li> event result_t <a href="tos.interfaces.I2C.nc.html# event result_t I2C.sendEndDone(void)"><b>I2C.sendEndDone</b> </a>(void)<li> event result_t <a href="tos.interfaces.I2C.nc.html# event result_t I2C.readDone(char data)"><b>I2C.readDone</b> </a>(char data)<li> event result_t <a href="tos.interfaces.I2C.nc.html# event result_t I2C.writeDone(bool success)"><b>I2C.writeDone</b> </a>(bool success)</ul>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -