| Line No. | Rev | Author | Line |
|---|---|---|---|
| 1 | 6 | kaklik | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
||
| 3 | <title>Procyon AVRlib: spieeprom.c File Reference</title> |
||
| 4 | <link href="dox.css" rel="stylesheet" type="text/css"> |
||
| 5 | </head><body> |
||
| 6 | <!-- Generated by Doxygen 1.4.2 --> |
||
| 7 | <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
||
| 8 | <h1>spieeprom.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> |
||
| 9 | |||
| 10 | <p> |
||
| 11 | Definition in file <a class="el" href="spieeprom_8c-source.html">spieeprom.c</a>. |
||
| 12 | <p> |
||
| 13 | <code>#include <avr/io.h></code><br> |
||
| 14 | <code>#include <avr/interrupt.h></code><br> |
||
| 15 | <code>#include "<a class="el" href="spi_8h-source.html">spi.h</a>"</code><br> |
||
| 16 | <code>#include "<a class="el" href="spieeprom_8h-source.html">spieeprom.h</a>"</code><br> |
||
| 17 | |||
| 18 | <p> |
||
| 19 | <a href="spieeprom_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
||
| 20 | <tr><td></td></tr> |
||
| 21 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
||
| 22 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0" doxytag="spieeprom.c::spieepromInit"></a> |
||
| 23 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="spieeprom_8c.html#a0">spieepromInit</a> (void)</td></tr> |
||
| 24 | |||
| 25 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize SPI EEPROM interface. <br></td></tr> |
||
| 26 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="spieeprom.c::spieepromReadByte"></a> |
||
| 27 | u08 </td><td class="memItemRight" valign="bottom"><a class="el" href="spieeprom_8c.html#a1">spieepromReadByte</a> (u32 memAddr)</td></tr> |
||
| 28 | |||
| 29 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In the SPI EEPROM read a byte from memory location [memAddr]. <br></td></tr> |
||
| 30 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="spieeprom.c::spieepromWriteByte"></a> |
||
| 31 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="spieeprom_8c.html#a2">spieepromWriteByte</a> (u32 memAddr, u08 data)</td></tr> |
||
| 32 | |||
| 33 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In the SPI EEPROM write a byte [data] to the memory location [memAddr]. <br></td></tr> |
||
| 34 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="spieeprom.c::spieepromWriteEnable"></a> |
||
| 35 | void </td><td class="memItemRight" valign="bottom"><b>spieepromWriteEnable</b> (void)</td></tr> |
||
| 36 | |||
| 37 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="spieeprom.c::spieepromWriteDisable"></a> |
||
| 38 | void </td><td class="memItemRight" valign="bottom"><b>spieepromWriteDisable</b> (void)</td></tr> |
||
| 39 | |||
| 40 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="spieeprom.c::spieepromReadStatus"></a> |
||
| 41 | u08 </td><td class="memItemRight" valign="bottom"><b>spieepromReadStatus</b> (void)</td></tr> |
||
| 42 | |||
| 43 | </table> |
||
| 44 | <hr size="1"><address style="align: right;"><small>Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by |
||
| 45 | <a href="http://www.doxygen.org/index.html"> |
||
| 46 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address> |
||
| 47 | </body> |
||
| 48 | </html> |
Powered by WebSVN v2.8.3