Author: sebastien.lelong
Date: Tue Dec 9 11:54:02 2008
New Revision: 610
Added:
trunk/validated/doc/html/i2c_level1.html (contents, props changed)
trunk/validated/include/peripheral/i2c/i2c_level1.jal (props changed)
- copied unchanged from r607,
/trunk/unvalidated/include/peripheral/i2c/i2c_level1.jal
Modified:
trunk/validated/doc/html/menu.html
Log:
added i2c_level1 + doc
Added: trunk/validated/doc/html/i2c_level1.html
==============================================================================
--- (empty file)
+++ trunk/validated/doc/html/i2c_level1.html Tue Dec 9 11:54:02 2008
@@ -0,0 +1,155 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html>
+ <head>
+ </head>
+ <body>
+ <div id="page">
+
+ <div id="pagecontent">
+
+
+ <h1>i2c_level1</h1>
+
+ <div>
+ <font size="+1"><i>i2c_hardware</i></font>
+ </div>
+
+ <br/>
+
+ <div class="narrow">
+
+ <table>
+ <tr>
+ <td style="border: 1px solid #aaa; padding: 5px;">
+ <b>Author</b>
+ </td>
+ <td style="border: 1px solid #aaa; padding: 5px;">
+ Joep Suijs, Copyright (C) 2008 Joep Suijs
+ </td>
+ </tr>
+ <tr>
+ <td style="border: 1px solid #aaa; padding: 5px;">
+ <b>Adapted-by</b>
+ </td>
+ <td style="border: 1px solid #aaa; padding: 5px;">
+
+ </td>
+ </tr>
+ <tr>
+ <td style="border: 1px solid #aaa; padding: 5px;">
+ <b>Compiler</b>
+ </td>
+ <td style="border: 1px solid #aaa; padding: 5px;">
+ >=2.4g
+ </td>
+ </tr>
+ </table>
+
+ <br/>
+
+ <b>Description</b>
+ <p>
+ <pre>Level1 implementation of I2C (single) master.
+</pre>
+
+ </p>
+ <br/>
+
+
+
+ <b>Dependencies</b>
+ <p>
+ <i>No dependency found</i>
+ </p>
+ <br/>
+
+
+ <br/>
+ <h2><a name="summary">Summary</a></h2>
+
+ <h3><a name="Global variables/contants">Global
variables/contants</a></h3>
+ <ul>
+ </ul>
+
+
+ <h3><a name="Procedures">Procedures</a></h3>
+ <ul>
+ </ul>
+
+
+ <h3><a name="Functions">Functions</a></h3>
+ <ul>
+ <li>
+ <b><code name="code" class="python"><a
href="#c1f35b9918ae95909ec764603d18ba64">i2c_receive_byteaddr(byte in
i2c_address, byte in addr, byte in i2c_rx_count) return bit</a></code></b>
+ </li>
+ <li>
+ <b><code name="code" class="python"><a
href="#dcf4e28f56f34da6fe2ecb3e58dc4f98">i2c_send_receive(byte in
i2c_address, byte in i2c_tx_count, byte in i2c_rx_count) return
bit</a></code></b>
+ </li>
+ <li>
+ <b><code name="code" class="python"><a
href="#48cb548f713dd6194b88aa430ad58e27">i2c_receive_wordaddr(byte in
i2c_address, word in addr, byte in i2c_rx_count) return bit</a></code></b>
+ </li>
+ </ul>
+
+
+
+ <br/>
+ <h2><a name="api">API details</a></h2>
+
+ <h3><a name="Global variables/contants">Global
variables/contants</a></h3>
+ <ul>
+ </ul>
+
+
+ <h3><a name="Procedures">Procedures</a></h3>
+ <ul>
+ </ul>
+
+
+ <h3><a name="Functions">Functions</a></h3>
+ <ul>
+ <li>
+ <b><code name="code" class="python"><a
name="c1f35b9918ae95909ec764603d18ba64"
href="#summary">i2c_receive_byteaddr(byte in i2c_address, byte in addr,
byte in i2c_rx_count) return bit</a></code></b>
+ <p> <pre>
+i2c_receive_byteaddr - send a byte address and receive a string from an
i2c slave
+
+</pre>
+</p>
+ </li>
+ <li>
+ <b><code name="code" class="python"><a
name="dcf4e28f56f34da6fe2ecb3e58dc4f98"
href="#summary">i2c_send_receive(byte in i2c_address, byte in i2c_tx_count,
byte in i2c_rx_count) return bit</a></code></b>
+ <p> <pre>
+i2c_send_receive - send a string to an i2c slave and receive bytes back
+
+This funtion uses two global i2c buffers, one for transmit (tx) and one for
+receive (rx). The address of the slave (higher 7 bits), number of bytes to
+transmit and number of bytes to receive are parameters.
+returns true if all went well.
+
+</pre>
+</p>
+ </li>
+ <li>
+ <b><code name="code" class="python"><a
name="48cb548f713dd6194b88aa430ad58e27"
href="#summary">i2c_receive_wordaddr(byte in i2c_address, word in addr,
byte in i2c_rx_count) return bit</a></code></b>
+ <p> <pre>
+i2c_receive_wordaddr - send a word address and receive a string from an
i2c slave
+
+</pre>
+</p>
+ </li>
+ </ul>
+
+
+
+ <br/>
+ <h2><a name="related_samples">Related
samples</a></h2>
+ <i>No sample found</i>
+
+ <br/>
+
+ </div>
+ </div>
+
+
+ </body>
+</html>
+
Modified: trunk/validated/doc/html/menu.html
==============================================================================
--- trunk/validated/doc/html/menu.html (original)
+++ trunk/validated/doc/html/menu.html Tue Dec 9 11:54:02 2008
@@ -14,6 +14,7 @@
<a href='delay.html' target='lib_desc'>delay</a><br/>
<a href='format.html' target='lib_desc'>format</a><br/>
<a href='i2c_hardware.html' target='lib_desc'>i2c_hardware</a><br/>
+<a href='i2c_level1.html' target='lib_desc'>i2c_level1</a><br/>
<a href='i2c_software.html' target='lib_desc'>i2c_software</a><br/>
<a href='keyboard.html' target='lib_desc'>keyboard</a><br/>
<a href='lcd_hd44780_4.html' target='lib_desc'>lcd_hd44780_4</a><br/>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---