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: spiflash.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>spiflash.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> |
||
9 | |||
10 | <p> |
||
11 | Definition in file <a class="el" href="spiflash_8c-source.html">spiflash.c</a>. |
||
12 | <p> |
||
13 | <code>#include "avr/io.h"</code><br> |
||
14 | <code>#include "<a class="el" href="global_8h-source.html">global.h</a>"</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="spiflash_8h-source.html">spiflash.h</a>"</code><br> |
||
17 | |||
18 | <p> |
||
19 | <a href="spiflash_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>Defines</h2></td></tr> |
||
22 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0" doxytag="spiflash.c::SPIFLASH_CONFIG_CS"></a> |
||
23 | #define </td><td class="memItemRight" valign="bottom"><b>SPIFLASH_CONFIG_CS</b> DDRB |= (1<<0)</td></tr> |
||
24 | |||
25 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="spiflash.c::SPIFLASH_ASSERT_CS"></a> |
||
26 | #define </td><td class="memItemRight" valign="bottom"><b>SPIFLASH_ASSERT_CS</b> PORTB &= (1<<0)</td></tr> |
||
27 | |||
28 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="spiflash.c::SPIFLASH_RELEASE_CS"></a> |
||
29 | #define </td><td class="memItemRight" valign="bottom"><b>SPIFLASH_RELEASE_CS</b> PORTB |= (1<<0)</td></tr> |
||
30 | |||
31 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
||
32 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="spiflash.c::spiflashInit"></a> |
||
33 | void </td><td class="memItemRight" valign="bottom"><b>spiflashInit</b> (void)</td></tr> |
||
34 | |||
35 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="spiflash.c::spiflashGetID"></a> |
||
36 | unsigned short </td><td class="memItemRight" valign="bottom"><b>spiflashGetID</b> (void)</td></tr> |
||
37 | |||
38 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="spiflash.c::spiflashChipErase"></a> |
||
39 | void </td><td class="memItemRight" valign="bottom"><b>spiflashChipErase</b> (void)</td></tr> |
||
40 | |||
41 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6" doxytag="spiflash.c::spiflashRead"></a> |
||
42 | void </td><td class="memItemRight" valign="bottom"><b>spiflashRead</b> (unsigned long addr, unsigned long nbytes, unsigned char *data)</td></tr> |
||
43 | |||
44 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7" doxytag="spiflash.c::spiflashWrite"></a> |
||
45 | void </td><td class="memItemRight" valign="bottom"><b>spiflashWrite</b> (unsigned long addr, unsigned long nbytes, unsigned char *data)</td></tr> |
||
46 | |||
47 | </table> |
||
48 | <hr size="1"><address style="align: right;"><small>Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by |
||
49 | <a href="http://www.doxygen.org/index.html"> |
||
50 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address> |
||
51 | </body> |
||
52 | </html> |
Powered by WebSVN v2.8.3