some more lame documentation updates

This commit is contained in:
sebastian 2009-05-17 18:35:27 +02:00
parent fc289af055
commit e645ca61a4
20 changed files with 232 additions and 106 deletions

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -50,7 +49,7 @@
<a name="l00035"></a>00035 0x00,0x00,0x00,0x00}; <a name="l00035"></a>00035 0x00,0x00,0x00,0x00};
<a name="l00036"></a>00036 <a name="l00036"></a>00036
</pre></div></div> </pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -41,7 +40,7 @@
</div> </div>
</div><p> </div><p>
</div> </div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -24,12 +23,11 @@
<h1>File List</h1>Here is a list of all files with brief descriptions:<table> <h1>File List</h1>Here is a list of all files with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="button_8h.html">button.h</a> <a href="button_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="button_8h.html">button.h</a> <a href="button_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="main_8c.html">main.c</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="main_8c.html">main.c</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="uplaod__repo_8py.html">uplaod_repo.py</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">include/<a class="el" href="lc7981_8c.html">lc7981.c</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey">include/<a class="el" href="lc7981_8c.html">lc7981.c</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey">include/<a class="el" href="lc7981_8h.html">lc7981.h</a> <a href="lc7981_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey">include/<a class="el" href="lc7981_8h.html">lc7981.h</a> <a href="lc7981_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
</table> </table>
</div> </div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -126,7 +125,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
: <a class="el" href="button_8h.html#1ca6393a353d3dde5511786a4d7cc139">button.h</a> : <a class="el" href="button_8h.html#1ca6393a353d3dde5511786a4d7cc139">button.h</a>
</ul> </ul>
</div> </div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -78,7 +77,7 @@
: <a class="el" href="lc7981_8h.html#eb2d212a26da4a5a4d3231b2773023e5">lc7981.h</a> : <a class="el" href="lc7981_8h.html#eb2d212a26da4a5a4d3231b2773023e5">lc7981.h</a>
</ul> </ul>
</div> </div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -63,7 +62,7 @@
: <a class="el" href="main_8c.html#e66f6b31b5ad750f1fe042a706a4e3d4">main.c</a> : <a class="el" href="main_8c.html#e66f6b31b5ad750f1fe042a706a4e3d4">main.c</a>
</ul> </ul>
</div> </div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -40,7 +39,7 @@
: <a class="el" href="button_8h.html#1ca6393a353d3dde5511786a4d7cc139">button.h</a> : <a class="el" href="button_8h.html#1ca6393a353d3dde5511786a4d7cc139">button.h</a>
</ul> </ul>
</div> </div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li class="current"><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li class="current"><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="files.html"><span>Files</span></a></li> <li><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -18,7 +17,7 @@
<h1>glcd Documentation</h1> <h1>glcd Documentation</h1>
<p> <p>
<h3 align="center">0.1beta </h3></div> <h3 align="center">0.1beta </h3></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -194,6 +193,15 @@ This function will plot a bitmap with the upper left corner to the given coordin
don't worry if you don't understand it at first sight. <br> don't worry if you don't understand it at first sight. <br>
And if you know a better way to do this, tell me.<br> And if you know a better way to do this, tell me.<br>
<p> <p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>horizontal position of the bitmap </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>vertical position of the bitmap </td></tr>
<tr><td valign="top"></td><td valign="top"><em>bitmap</em>&nbsp;</td><td>pointer to the bitmap in pgmspace </td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>width of the bitmap </td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>height of the bitmap</td></tr>
</table>
</dl>
This function is dedicated to Greta, one of the most important persons in my life so far.<br> This function is dedicated to Greta, one of the most important persons in my life so far.<br>
Even though I can't remember her actual name.<br> Even though I can't remember her actual name.<br>
@ -381,7 +389,7 @@ Currently used mode, can be text or graphic.
</div> </div>
</div><p> </div><p>
</div> </div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -37,45 +36,45 @@
<a name="l00022"></a>00022 <span class="comment"> */</span> <a name="l00022"></a>00022 <span class="comment"> */</span>
<a name="l00023"></a>00023 <a name="l00023"></a>00023
<a name="l00024"></a>00024 <span class="preprocessor">#ifndef LC7981_H_</span> <a name="l00024"></a>00024 <span class="preprocessor">#ifndef LC7981_H_</span>
<a name="l00025"></a><a class="code" href="lc7981_8h.html#e6ff861bd55f4dc46f25f5f6abfca15f">00025</a> <span class="preprocessor"></span><span class="preprocessor">#define LC7981_H_ LC7981_H_</span> <a name="l00025"></a><a class="code" href="lc7981_8h.html#e6ff861bd55f4dc46f25f5f6abfca15f">00025</a> <span class="preprocessor"></span><span class="preprocessor">#define LC7981_H_ LC7981_H_ </span>
<a name="l00026"></a>00026 <span class="preprocessor"></span> <a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;avr/io.h&gt;</span> <a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#include &lt;avr/io.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;util/delay.h&gt;</span> <a name="l00028"></a>00028 <span class="preprocessor">#include &lt;util/delay.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;avr/pgmspace.h&gt;</span> <a name="l00029"></a>00029 <span class="preprocessor">#include &lt;avr/pgmspace.h&gt;</span>
<a name="l00030"></a>00030 <a name="l00030"></a>00030
<a name="l00031"></a><a class="code" href="lc7981_8h.html#8e945df7ca614325cafa08258e82a63c">00031</a> <span class="preprocessor">#define LCD_CTRL PORTC</span> <a name="l00031"></a><a class="code" href="lc7981_8h.html#8e945df7ca614325cafa08258e82a63c">00031</a> <span class="preprocessor">#define LCD_CTRL PORTC </span>
<a name="l00032"></a><a class="code" href="lc7981_8h.html#4b6c8400da9a1ca3d4d83f3ef1f9c34a">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_CRTL_DDR DDRC</span> <a name="l00032"></a><a class="code" href="lc7981_8h.html#4b6c8400da9a1ca3d4d83f3ef1f9c34a">00032</a> <span class="preprocessor">#define LCD_CRTL_DDR DDRC </span>
<a name="l00033"></a><a class="code" href="lc7981_8h.html#4781e073871c6f27f89b9463ad3a4ed1">00033</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_RS PC4</span> <a name="l00033"></a><a class="code" href="lc7981_8h.html#4781e073871c6f27f89b9463ad3a4ed1">00033</a> <span class="preprocessor">#define LCD_RS PC4 </span>
<a name="l00034"></a><a class="code" href="lc7981_8h.html#26089a10ddd59a0dc7283c19ccc02533">00034</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_RW PC2</span> <a name="l00034"></a><a class="code" href="lc7981_8h.html#26089a10ddd59a0dc7283c19ccc02533">00034</a> <span class="preprocessor">#define LCD_RW PC2 </span>
<a name="l00035"></a><a class="code" href="lc7981_8h.html#1640ffbc0d8ec0f7edb04a2b93918072">00035</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_EN PC0</span> <a name="l00035"></a><a class="code" href="lc7981_8h.html#1640ffbc0d8ec0f7edb04a2b93918072">00035</a> <span class="preprocessor">#define LCD_EN PC0 </span>
<a name="l00036"></a>00036 <span class="preprocessor"></span> <a name="l00036"></a>00036 <span class="preprocessor"></span>
<a name="l00037"></a>00037 <a name="l00037"></a>00037 <span class="preprocessor"></span>
<a name="l00038"></a>00038 <a name="l00038"></a>00038
<a name="l00039"></a><a class="code" href="lc7981_8h.html#25e9d818788f36ed74d7c4579f87f2a6">00039</a> <span class="preprocessor">#define LCD_DATA PORTD</span> <a name="l00039"></a><a class="code" href="lc7981_8h.html#25e9d818788f36ed74d7c4579f87f2a6">00039</a> <span class="preprocessor">#define LCD_DATA PORTD </span>
<a name="l00040"></a><a class="code" href="lc7981_8h.html#0c114e723aa4c162c415fb6d4d963dd7">00040</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_DATA_DDR DDRD</span> <a name="l00040"></a><a class="code" href="lc7981_8h.html#0c114e723aa4c162c415fb6d4d963dd7">00040</a> <span class="preprocessor">#define LCD_DATA_DDR DDRD </span>
<a name="l00041"></a>00041 <span class="preprocessor"></span> <a name="l00041"></a>00041 <span class="preprocessor"></span>
<a name="l00042"></a>00042 <span class="comment">// Macros for (un)setting the control pins</span> <a name="l00042"></a>00042 <span class="preprocessor"></span><span class="comment">// Macros for (un)setting the control pins</span>
<a name="l00043"></a><a class="code" href="lc7981_8h.html#795b48274d3f80bc744a707b67fd93e9">00043</a> <span class="preprocessor">#define lcd_rs_high() (LCD_CTRL |= (1 &lt;&lt; LCD_RS))</span> <a name="l00043"></a><a class="code" href="lc7981_8h.html#795b48274d3f80bc744a707b67fd93e9">00043</a> <span class="preprocessor">#define lcd_rs_high() (LCD_CTRL |= (1 &lt;&lt; LCD_RS)) </span>
<a name="l00044"></a><a class="code" href="lc7981_8h.html#6edb13d59460246fb4cc32ada1c9f4a8">00044</a> <span class="preprocessor"></span><span class="preprocessor">#define lcd_rs_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RS))</span> <a name="l00044"></a><a class="code" href="lc7981_8h.html#6edb13d59460246fb4cc32ada1c9f4a8">00044</a> <span class="preprocessor">#define lcd_rs_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RS)) </span>
<a name="l00045"></a>00045 <span class="preprocessor"></span> <a name="l00045"></a>00045 <span class="preprocessor"></span>
<a name="l00046"></a><a class="code" href="lc7981_8h.html#d0ce3cd9b481370ad4de36eff08440c8">00046</a> <span class="preprocessor">#define lcd_rw_high() (LCD_CTRL |= (1 &lt;&lt; LCD_RW))</span> <a name="l00046"></a><a class="code" href="lc7981_8h.html#d0ce3cd9b481370ad4de36eff08440c8">00046</a> <span class="preprocessor"></span><span class="preprocessor">#define lcd_rw_high() (LCD_CTRL |= (1 &lt;&lt; LCD_RW)) </span>
<a name="l00047"></a><a class="code" href="lc7981_8h.html#7f5ebe0ca71b1298a7d3423850cc82b1">00047</a> <span class="preprocessor"></span><span class="preprocessor">#define lcd_rw_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RW))</span> <a name="l00047"></a><a class="code" href="lc7981_8h.html#7f5ebe0ca71b1298a7d3423850cc82b1">00047</a> <span class="preprocessor">#define lcd_rw_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RW)) </span>
<a name="l00048"></a>00048 <span class="preprocessor"></span> <a name="l00048"></a>00048 <span class="preprocessor"></span>
<a name="l00049"></a><a class="code" href="lc7981_8h.html#e14be306d3620577abc8613d40401b04">00049</a> <span class="preprocessor">#define lcd_en_high() (LCD_CTRL |= (1 &lt;&lt; LCD_EN))</span> <a name="l00049"></a><a class="code" href="lc7981_8h.html#e14be306d3620577abc8613d40401b04">00049</a> <span class="preprocessor"></span><span class="preprocessor">#define lcd_en_high() (LCD_CTRL |= (1 &lt;&lt; LCD_EN)) </span>
<a name="l00050"></a><a class="code" href="lc7981_8h.html#d8dcdb36a9410fd96b2c936b7c9355dd">00050</a> <span class="preprocessor"></span><span class="preprocessor">#define lcd_en_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_EN))</span> <a name="l00050"></a><a class="code" href="lc7981_8h.html#d8dcdb36a9410fd96b2c936b7c9355dd">00050</a> <span class="preprocessor">#define lcd_en_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_EN)) </span>
<a name="l00051"></a>00051 <span class="preprocessor"></span> <a name="l00051"></a>00051 <span class="preprocessor"></span>
<a name="l00052"></a>00052 <a name="l00052"></a>00052 <span class="preprocessor"></span>
<a name="l00053"></a><a class="code" href="lc7981_8h.html#90a69d37f5c80f3ded970acf2dacf4c0">00053</a> <span class="preprocessor">#define LCD_TEXT 0</span> <a name="l00053"></a><a class="code" href="lc7981_8h.html#90a69d37f5c80f3ded970acf2dacf4c0">00053</a> <span class="preprocessor">#define LCD_TEXT 0 </span>
<a name="l00054"></a><a class="code" href="lc7981_8h.html#720ef60606ac38ca3a5ab96a9c2b8168">00054</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_TEXT_LINES 10</span> <a name="l00054"></a><a class="code" href="lc7981_8h.html#720ef60606ac38ca3a5ab96a9c2b8168">00054</a> <span class="preprocessor">#define LCD_TEXT_LINES 10 </span>
<a name="l00055"></a><a class="code" href="lc7981_8h.html#82f0a630f3c41b5233f2ceb07c7dd736">00055</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_TEXT_COLUMNS 26</span> <a name="l00055"></a><a class="code" href="lc7981_8h.html#82f0a630f3c41b5233f2ceb07c7dd736">00055</a> <span class="preprocessor">#define LCD_TEXT_COLUMNS 26 </span>
<a name="l00056"></a>00056 <span class="preprocessor"></span> <a name="l00056"></a>00056 <span class="preprocessor"></span>
<a name="l00057"></a><a class="code" href="lc7981_8h.html#dfaedf8da8e73d39a98d709b519a3117">00057</a> <span class="preprocessor">#define LCD_GRAPHIC 1</span> <a name="l00057"></a><a class="code" href="lc7981_8h.html#dfaedf8da8e73d39a98d709b519a3117">00057</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_GRAPHIC 1 </span>
<a name="l00058"></a><a class="code" href="lc7981_8h.html#51e83be6f6929f2a29d5467cd937dfc6">00058</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_GRAPHIC_WIDTH 160</span> <a name="l00058"></a><a class="code" href="lc7981_8h.html#51e83be6f6929f2a29d5467cd937dfc6">00058</a> <span class="preprocessor">#define LCD_GRAPHIC_WIDTH 160 </span>
<a name="l00059"></a><a class="code" href="lc7981_8h.html#70265c4f840ef78872243e91c923af2f">00059</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_GRAPHIC_HEIGHT 80</span> <a name="l00059"></a><a class="code" href="lc7981_8h.html#70265c4f840ef78872243e91c923af2f">00059</a> <span class="preprocessor">#define LCD_GRAPHIC_HEIGHT 80 </span>
<a name="l00060"></a><a class="code" href="lc7981_8h.html#eb2d212a26da4a5a4d3231b2773023e5">00060</a> <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_ON 1</span> <a name="l00060"></a><a class="code" href="lc7981_8h.html#eb2d212a26da4a5a4d3231b2773023e5">00060</a> <span class="preprocessor">#define PIXEL_ON 1 </span>
<a name="l00061"></a><a class="code" href="lc7981_8h.html#cda2f1b1cf6310700d0d91643c40e068">00061</a> <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_OFF 0</span> <a name="l00061"></a><a class="code" href="lc7981_8h.html#cda2f1b1cf6310700d0d91643c40e068">00061</a> <span class="preprocessor">#define PIXEL_OFF 0 </span>
<a name="l00062"></a>00062 <span class="preprocessor"></span> <a name="l00062"></a>00062 <span class="preprocessor"></span>
<a name="l00063"></a>00063 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#9b18aca098d68e55bd7dd4b83f4f36e9" title="lcd_init set the to default values.">lcd_init</a>(uint8_t mode); <a name="l00063"></a>00063 <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#9b18aca098d68e55bd7dd4b83f4f36e9" title="lcd_init set the to default values.">lcd_init</a>(uint8_t mode);
<a name="l00064"></a>00064 <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#35c08b1fa742e650f4873939707b893b" title="Clears the display by setting the whole memory to 0.">lcd_clear</a>(); <a name="l00064"></a>00064 <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#35c08b1fa742e650f4873939707b893b" title="Clears the display by setting the whole memory to 0.">lcd_clear</a>();
<a name="l00065"></a>00065 <a name="l00065"></a>00065
<a name="l00066"></a>00066 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#30251238a49999658455fdb0233757fb">lcd_write_text</a>(<span class="keywordtype">char</span> *txt); <a name="l00066"></a>00066 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#30251238a49999658455fdb0233757fb">lcd_write_text</a>(<span class="keywordtype">char</span> *txt);
@ -91,7 +90,7 @@
<a name="l00076"></a>00076 <a name="l00076"></a>00076
<a name="l00077"></a>00077 <span class="preprocessor">#endif </span><span class="comment">/* LC7981_H_ */</span> <a name="l00077"></a>00077 <span class="preprocessor">#endif </span><span class="comment">/* LC7981_H_ */</span>
</pre></div></div> </pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -25,48 +24,70 @@
<tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#e6ff861bd55f4dc46f25f5f6abfca15f">LC7981_H_</a>&nbsp;&nbsp;&nbsp;LC7981_H_</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#e6ff861bd55f4dc46f25f5f6abfca15f">LC7981_H_</a>&nbsp;&nbsp;&nbsp;LC7981_H_</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">protects this file from beeing double included <a href="#e6ff861bd55f4dc46f25f5f6abfca15f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#8e945df7ca614325cafa08258e82a63c">LCD_CTRL</a>&nbsp;&nbsp;&nbsp;PORTC</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#8e945df7ca614325cafa08258e82a63c">LCD_CTRL</a>&nbsp;&nbsp;&nbsp;PORTC</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Port used for control signals. <a href="#8e945df7ca614325cafa08258e82a63c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#4b6c8400da9a1ca3d4d83f3ef1f9c34a">LCD_CRTL_DDR</a>&nbsp;&nbsp;&nbsp;DDRC</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#4b6c8400da9a1ca3d4d83f3ef1f9c34a">LCD_CRTL_DDR</a>&nbsp;&nbsp;&nbsp;DDRC</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Data-Direction-Register for the control signals. <a href="#4b6c8400da9a1ca3d4d83f3ef1f9c34a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#4781e073871c6f27f89b9463ad3a4ed1">LCD_RS</a>&nbsp;&nbsp;&nbsp;PC4</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#4781e073871c6f27f89b9463ad3a4ed1">LCD_RS</a>&nbsp;&nbsp;&nbsp;PC4</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Register-Select Pin of the Display. <a href="#4781e073871c6f27f89b9463ad3a4ed1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#26089a10ddd59a0dc7283c19ccc02533">LCD_RW</a>&nbsp;&nbsp;&nbsp;PC2</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#26089a10ddd59a0dc7283c19ccc02533">LCD_RW</a>&nbsp;&nbsp;&nbsp;PC2</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read-Write-select Pin. <a href="#26089a10ddd59a0dc7283c19ccc02533"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#1640ffbc0d8ec0f7edb04a2b93918072">LCD_EN</a>&nbsp;&nbsp;&nbsp;PC0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#1640ffbc0d8ec0f7edb04a2b93918072">LCD_EN</a>&nbsp;&nbsp;&nbsp;PC0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Strobe Pin. <a href="#1640ffbc0d8ec0f7edb04a2b93918072"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#25e9d818788f36ed74d7c4579f87f2a6">LCD_DATA</a>&nbsp;&nbsp;&nbsp;PORTD</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#25e9d818788f36ed74d7c4579f87f2a6">LCD_DATA</a>&nbsp;&nbsp;&nbsp;PORTD</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Port used for data. <a href="#25e9d818788f36ed74d7c4579f87f2a6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#0c114e723aa4c162c415fb6d4d963dd7">LCD_DATA_DDR</a>&nbsp;&nbsp;&nbsp;DDRD</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#0c114e723aa4c162c415fb6d4d963dd7">LCD_DATA_DDR</a>&nbsp;&nbsp;&nbsp;DDRD</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Data-Direction-Register for Data. <a href="#0c114e723aa4c162c415fb6d4d963dd7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#795b48274d3f80bc744a707b67fd93e9">lcd_rs_high</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL |= (1 &lt;&lt; LCD_RS))</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#795b48274d3f80bc744a707b67fd93e9">lcd_rs_high</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL |= (1 &lt;&lt; LCD_RS))</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the Register-Select pin high. <a href="#795b48274d3f80bc744a707b67fd93e9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#6edb13d59460246fb4cc32ada1c9f4a8">lcd_rs_low</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RS))</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#6edb13d59460246fb4cc32ada1c9f4a8">lcd_rs_low</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RS))</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the Register-Select pin low. <a href="#6edb13d59460246fb4cc32ada1c9f4a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#d0ce3cd9b481370ad4de36eff08440c8">lcd_rw_high</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL |= (1 &lt;&lt; LCD_RW))</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#d0ce3cd9b481370ad4de36eff08440c8">lcd_rw_high</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL |= (1 &lt;&lt; LCD_RW))</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the Read-Write-Select pin high. <a href="#d0ce3cd9b481370ad4de36eff08440c8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#7f5ebe0ca71b1298a7d3423850cc82b1">lcd_rw_low</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RW))</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#7f5ebe0ca71b1298a7d3423850cc82b1">lcd_rw_low</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RW))</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the Register-Select pin low. <a href="#7f5ebe0ca71b1298a7d3423850cc82b1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#e14be306d3620577abc8613d40401b04">lcd_en_high</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL |= (1 &lt;&lt; LCD_EN))</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#e14be306d3620577abc8613d40401b04">lcd_en_high</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL |= (1 &lt;&lt; LCD_EN))</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the strobe pin high. <a href="#e14be306d3620577abc8613d40401b04"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#d8dcdb36a9410fd96b2c936b7c9355dd">lcd_en_low</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_EN))</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#d8dcdb36a9410fd96b2c936b7c9355dd">lcd_en_low</a>()&nbsp;&nbsp;&nbsp;(LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_EN))</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the strobe pin low. <a href="#d8dcdb36a9410fd96b2c936b7c9355dd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#90a69d37f5c80f3ded970acf2dacf4c0">LCD_TEXT</a>&nbsp;&nbsp;&nbsp;0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#90a69d37f5c80f3ded970acf2dacf4c0">LCD_TEXT</a>&nbsp;&nbsp;&nbsp;0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constant for text mode. <a href="#90a69d37f5c80f3ded970acf2dacf4c0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#720ef60606ac38ca3a5ab96a9c2b8168">LCD_TEXT_LINES</a>&nbsp;&nbsp;&nbsp;10</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#720ef60606ac38ca3a5ab96a9c2b8168">LCD_TEXT_LINES</a>&nbsp;&nbsp;&nbsp;10</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of lines in text mode. <a href="#720ef60606ac38ca3a5ab96a9c2b8168"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#82f0a630f3c41b5233f2ceb07c7dd736">LCD_TEXT_COLUMNS</a>&nbsp;&nbsp;&nbsp;26</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#82f0a630f3c41b5233f2ceb07c7dd736">LCD_TEXT_COLUMNS</a>&nbsp;&nbsp;&nbsp;26</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of columns in text mode. <a href="#82f0a630f3c41b5233f2ceb07c7dd736"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#dfaedf8da8e73d39a98d709b519a3117">LCD_GRAPHIC</a>&nbsp;&nbsp;&nbsp;1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#dfaedf8da8e73d39a98d709b519a3117">LCD_GRAPHIC</a>&nbsp;&nbsp;&nbsp;1</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constant for graphic mode. <a href="#dfaedf8da8e73d39a98d709b519a3117"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#51e83be6f6929f2a29d5467cd937dfc6">LCD_GRAPHIC_WIDTH</a>&nbsp;&nbsp;&nbsp;160</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#51e83be6f6929f2a29d5467cd937dfc6">LCD_GRAPHIC_WIDTH</a>&nbsp;&nbsp;&nbsp;160</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Horizontal display size in pixels. <a href="#51e83be6f6929f2a29d5467cd937dfc6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#70265c4f840ef78872243e91c923af2f">LCD_GRAPHIC_HEIGHT</a>&nbsp;&nbsp;&nbsp;80</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#70265c4f840ef78872243e91c923af2f">LCD_GRAPHIC_HEIGHT</a>&nbsp;&nbsp;&nbsp;80</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vertical display size in pixels. <a href="#70265c4f840ef78872243e91c923af2f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#eb2d212a26da4a5a4d3231b2773023e5">PIXEL_ON</a>&nbsp;&nbsp;&nbsp;1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#eb2d212a26da4a5a4d3231b2773023e5">PIXEL_ON</a>&nbsp;&nbsp;&nbsp;1</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">see lcd_plot_pixel <a href="#eb2d212a26da4a5a4d3231b2773023e5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#cda2f1b1cf6310700d0d91643c40e068">PIXEL_OFF</a>&nbsp;&nbsp;&nbsp;0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#cda2f1b1cf6310700d0d91643c40e068">PIXEL_OFF</a>&nbsp;&nbsp;&nbsp;0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">see lcd_plot_pixel <a href="#cda2f1b1cf6310700d0d91643c40e068"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#9b18aca098d68e55bd7dd4b83f4f36e9">lcd_init</a> (uint8_t mode)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#9b18aca098d68e55bd7dd4b83f4f36e9">lcd_init</a> (uint8_t mode)</td></tr>
@ -107,6 +128,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
protects this file from beeing double included
<p> <p>
</div> </div>
@ -122,6 +145,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Data-Direction-Register for the control signals.
<p> <p>
</div> </div>
@ -137,6 +162,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Port used for control signals.
<p> <p>
</div> </div>
@ -152,6 +179,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Port used for data.
<p> <p>
</div> </div>
@ -167,6 +196,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Data-Direction-Register for Data.
<p> <p>
</div> </div>
@ -182,6 +213,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Strobe Pin.
<p> <p>
</div> </div>
@ -202,6 +235,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Set the strobe pin high.
<p> <p>
</div> </div>
@ -222,6 +257,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Set the strobe pin low.
<p> <p>
</div> </div>
@ -237,6 +274,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Constant for graphic mode.
<p> <p>
</div> </div>
@ -252,6 +291,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Vertical display size in pixels.
<p> <p>
</div> </div>
@ -267,6 +308,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Horizontal display size in pixels.
<p> <p>
</div> </div>
@ -282,6 +325,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Register-Select Pin of the Display.
<p> <p>
</div> </div>
@ -302,6 +347,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Set the Register-Select pin high.
<p> <p>
</div> </div>
@ -322,6 +369,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Set the Register-Select pin low.
<p> <p>
</div> </div>
@ -337,6 +386,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Read-Write-select Pin.
<p> <p>
</div> </div>
@ -357,6 +408,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Set the Read-Write-Select pin high.
<p> <p>
</div> </div>
@ -377,6 +430,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Set the Register-Select pin low.
<p> <p>
</div> </div>
@ -392,6 +447,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Constant for text mode.
<p> <p>
</div> </div>
@ -407,6 +464,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Number of columns in text mode.
<p> <p>
</div> </div>
@ -422,6 +481,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
Number of lines in text mode.
<p> <p>
</div> </div>
@ -437,6 +498,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
see lcd_plot_pixel
<p> <p>
</div> </div>
@ -452,6 +515,8 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>
see lcd_plot_pixel
<p> <p>
</div> </div>
@ -597,6 +662,15 @@ This function will plot a bitmap with the upper left corner to the given coordin
don't worry if you don't understand it at first sight. <br> don't worry if you don't understand it at first sight. <br>
And if you know a better way to do this, tell me.<br> And if you know a better way to do this, tell me.<br>
<p> <p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>horizontal position of the bitmap </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>vertical position of the bitmap </td></tr>
<tr><td valign="top"></td><td valign="top"><em>bitmap</em>&nbsp;</td><td>pointer to the bitmap in pgmspace </td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>width of the bitmap </td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>height of the bitmap</td></tr>
</table>
</dl>
This function is dedicated to Greta, one of the most important persons in my life so far.<br> This function is dedicated to Greta, one of the most important persons in my life so far.<br>
Even though I can't remember her actual name.<br> Even though I can't remember her actual name.<br>
@ -749,7 +823,7 @@ Writes a command and a data byte to the lcd.
</div> </div>
</div><p> </div><p>
</div> </div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -9,7 +9,6 @@
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li>
</ul> </ul>
</div> </div>
@ -46,7 +45,7 @@
</div> </div>
</div><p> </div><p>
</div> </div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 17:59:55 2009 for glcd by&nbsp; <hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:34:49 2009 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body> </body>

View File

@ -10,8 +10,8 @@
{\fancyplain{}{\bfseries\rightmark}} {\fancyplain{}{\bfseries\rightmark}}
\rhead[\fancyplain{}{\bfseries\leftmark}] \rhead[\fancyplain{}{\bfseries\leftmark}]
{\fancyplain{}{\bfseries\thepage}} {\fancyplain{}{\bfseries\thepage}}
\rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Sun May 17 17:59:55 2009 for glcd by Doxygen }]{} \rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Sun May 17 18:34:49 2009 for glcd by Doxygen }]{}
\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Sun May 17 17:59:55 2009 for glcd by Doxygen }} \lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Sun May 17 18:34:49 2009 for glcd by Doxygen }}
\cfoot{} \cfoot{}
\newenvironment{Code} \newenvironment{Code}
{\footnotesize} {\footnotesize}

View File

@ -2,7 +2,6 @@
Here is a list of all files with brief descriptions:\begin{CompactList} Here is a list of all files with brief descriptions:\begin{CompactList}
\item\contentsline{section}{{\bf button.h} }{\pageref{button_8h}}{} \item\contentsline{section}{{\bf button.h} }{\pageref{button_8h}}{}
\item\contentsline{section}{{\bf main.c} }{\pageref{main_8c}}{} \item\contentsline{section}{{\bf main.c} }{\pageref{main_8c}}{}
\item\contentsline{section}{{\bf uplaod\_\-repo.py} }{\pageref{uplaod__repo_8py}}{}
\item\contentsline{section}{include/{\bf lc7981.c} }{\pageref{lc7981_8c}}{} \item\contentsline{section}{include/{\bf lc7981.c} }{\pageref{lc7981_8c}}{}
\item\contentsline{section}{include/{\bf lc7981.h} }{\pageref{lc7981_8h}}{} \item\contentsline{section}{include/{\bf lc7981.h} }{\pageref{lc7981_8h}}{}
\end{CompactList} \end{CompactList}

View File

@ -81,6 +81,11 @@ This function will plot a bitmap with the upper left corner to the given coordin
And if you know a better way to do this, tell me.\par And if you know a better way to do this, tell me.\par
\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em x}]horizontal position of the bitmap \item[{\em y}]vertical position of the bitmap \item[{\em bitmap}]pointer to the bitmap in pgmspace \item[{\em w}]width of the bitmap \item[{\em h}]height of the bitmap\end{description}
\end{Desc}
This function is dedicated to Greta, one of the most important persons in my life so far.\par This function is dedicated to Greta, one of the most important persons in my life so far.\par
Even though I can't remember her actual name.\par Even though I can't remember her actual name.\par
\index{lc7981.c@{lc7981.c}!lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}} \index{lc7981.c@{lc7981.c}!lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}}

View File

@ -7,49 +7,49 @@
\begin{CompactItemize} \begin{CompactItemize}
\item \item
\#define {\bf LC7981\_\-H\_\-}~LC7981\_\-H\_\- \#define {\bf LC7981\_\-H\_\-}~LC7981\_\-H\_\-
\item \begin{CompactList}\small\item\em protects this file from beeing double included \item\end{CompactList}\item
\#define {\bf LCD\_\-CTRL}~PORTC \#define {\bf LCD\_\-CTRL}~PORTC
\item \begin{CompactList}\small\item\em Port used for control signals. \item\end{CompactList}\item
\#define {\bf LCD\_\-CRTL\_\-DDR}~DDRC \#define {\bf LCD\_\-CRTL\_\-DDR}~DDRC
\item \begin{CompactList}\small\item\em Data-Direction-Register for the control signals. \item\end{CompactList}\item
\#define {\bf LCD\_\-RS}~PC4 \#define {\bf LCD\_\-RS}~PC4
\item \begin{CompactList}\small\item\em Register-Select Pin of the Display. \item\end{CompactList}\item
\#define {\bf LCD\_\-RW}~PC2 \#define {\bf LCD\_\-RW}~PC2
\item \begin{CompactList}\small\item\em Read-Write-select Pin. \item\end{CompactList}\item
\#define {\bf LCD\_\-EN}~PC0 \#define {\bf LCD\_\-EN}~PC0
\item \begin{CompactList}\small\item\em Strobe Pin. \item\end{CompactList}\item
\#define {\bf LCD\_\-DATA}~PORTD \#define {\bf LCD\_\-DATA}~PORTD
\item \begin{CompactList}\small\item\em Port used for data. \item\end{CompactList}\item
\#define {\bf LCD\_\-DATA\_\-DDR}~DDRD \#define {\bf LCD\_\-DATA\_\-DDR}~DDRD
\item \begin{CompactList}\small\item\em Data-Direction-Register for Data. \item\end{CompactList}\item
\#define {\bf lcd\_\-rs\_\-high}()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-RS)) \#define {\bf lcd\_\-rs\_\-high}()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-RS))
\item \begin{CompactList}\small\item\em Set the Register-Select pin high. \item\end{CompactList}\item
\#define {\bf lcd\_\-rs\_\-low}()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-RS)) \#define {\bf lcd\_\-rs\_\-low}()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-RS))
\item \begin{CompactList}\small\item\em Set the Register-Select pin low. \item\end{CompactList}\item
\#define {\bf lcd\_\-rw\_\-high}()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-RW)) \#define {\bf lcd\_\-rw\_\-high}()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-RW))
\item \begin{CompactList}\small\item\em Set the Read-Write-Select pin high. \item\end{CompactList}\item
\#define {\bf lcd\_\-rw\_\-low}()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-RW)) \#define {\bf lcd\_\-rw\_\-low}()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-RW))
\item \begin{CompactList}\small\item\em Set the Register-Select pin low. \item\end{CompactList}\item
\#define {\bf lcd\_\-en\_\-high}()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-EN)) \#define {\bf lcd\_\-en\_\-high}()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-EN))
\item \begin{CompactList}\small\item\em Set the strobe pin high. \item\end{CompactList}\item
\#define {\bf lcd\_\-en\_\-low}()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-EN)) \#define {\bf lcd\_\-en\_\-low}()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-EN))
\item \begin{CompactList}\small\item\em Set the strobe pin low. \item\end{CompactList}\item
\#define {\bf LCD\_\-TEXT}~0 \#define {\bf LCD\_\-TEXT}~0
\item \begin{CompactList}\small\item\em Constant for text mode. \item\end{CompactList}\item
\#define {\bf LCD\_\-TEXT\_\-LINES}~10 \#define {\bf LCD\_\-TEXT\_\-LINES}~10
\item \begin{CompactList}\small\item\em Number of lines in text mode. \item\end{CompactList}\item
\#define {\bf LCD\_\-TEXT\_\-COLUMNS}~26 \#define {\bf LCD\_\-TEXT\_\-COLUMNS}~26
\item \begin{CompactList}\small\item\em Number of columns in text mode. \item\end{CompactList}\item
\#define {\bf LCD\_\-GRAPHIC}~1 \#define {\bf LCD\_\-GRAPHIC}~1
\item \begin{CompactList}\small\item\em Constant for graphic mode. \item\end{CompactList}\item
\#define {\bf LCD\_\-GRAPHIC\_\-WIDTH}~160 \#define {\bf LCD\_\-GRAPHIC\_\-WIDTH}~160
\item \begin{CompactList}\small\item\em Horizontal display size in pixels. \item\end{CompactList}\item
\#define {\bf LCD\_\-GRAPHIC\_\-HEIGHT}~80 \#define {\bf LCD\_\-GRAPHIC\_\-HEIGHT}~80
\item \begin{CompactList}\small\item\em Vertical display size in pixels. \item\end{CompactList}\item
\#define {\bf PIXEL\_\-ON}~1 \#define {\bf PIXEL\_\-ON}~1
\item \begin{CompactList}\small\item\em see lcd\_\-plot\_\-pixel \item\end{CompactList}\item
\#define {\bf PIXEL\_\-OFF}~0 \#define {\bf PIXEL\_\-OFF}~0
\end{CompactItemize} \begin{CompactList}\small\item\em see lcd\_\-plot\_\-pixel \item\end{CompactList}\end{CompactItemize}
\subsection*{Functions} \subsection*{Functions}
\begin{CompactItemize} \begin{CompactItemize}
\item \item
@ -79,111 +79,155 @@ uint8\_\-t {\bf lcd\_\-read\_\-byte} ()
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LC7981\_\-H\_\-~LC7981\_\-H\_\-}\label{lc7981_8h_e6ff861bd55f4dc46f25f5f6abfca15f} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LC7981\_\-H\_\-~LC7981\_\-H\_\-}\label{lc7981_8h_e6ff861bd55f4dc46f25f5f6abfca15f}
protects this file from beeing double included
\index{lc7981.h@{lc7981.h}!LCD\_\-CRTL\_\-DDR@{LCD\_\-CRTL\_\-DDR}} \index{lc7981.h@{lc7981.h}!LCD\_\-CRTL\_\-DDR@{LCD\_\-CRTL\_\-DDR}}
\index{LCD\_\-CRTL\_\-DDR@{LCD\_\-CRTL\_\-DDR}!lc7981.h@{lc7981.h}} \index{LCD\_\-CRTL\_\-DDR@{LCD\_\-CRTL\_\-DDR}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-CRTL\_\-DDR~DDRC}\label{lc7981_8h_4b6c8400da9a1ca3d4d83f3ef1f9c34a} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-CRTL\_\-DDR~DDRC}\label{lc7981_8h_4b6c8400da9a1ca3d4d83f3ef1f9c34a}
Data-Direction-Register for the control signals.
\index{lc7981.h@{lc7981.h}!LCD\_\-CTRL@{LCD\_\-CTRL}} \index{lc7981.h@{lc7981.h}!LCD\_\-CTRL@{LCD\_\-CTRL}}
\index{LCD\_\-CTRL@{LCD\_\-CTRL}!lc7981.h@{lc7981.h}} \index{LCD\_\-CTRL@{LCD\_\-CTRL}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-CTRL~PORTC}\label{lc7981_8h_8e945df7ca614325cafa08258e82a63c} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-CTRL~PORTC}\label{lc7981_8h_8e945df7ca614325cafa08258e82a63c}
Port used for control signals.
\index{lc7981.h@{lc7981.h}!LCD\_\-DATA@{LCD\_\-DATA}} \index{lc7981.h@{lc7981.h}!LCD\_\-DATA@{LCD\_\-DATA}}
\index{LCD\_\-DATA@{LCD\_\-DATA}!lc7981.h@{lc7981.h}} \index{LCD\_\-DATA@{LCD\_\-DATA}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-DATA~PORTD}\label{lc7981_8h_25e9d818788f36ed74d7c4579f87f2a6} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-DATA~PORTD}\label{lc7981_8h_25e9d818788f36ed74d7c4579f87f2a6}
Port used for data.
\index{lc7981.h@{lc7981.h}!LCD\_\-DATA\_\-DDR@{LCD\_\-DATA\_\-DDR}} \index{lc7981.h@{lc7981.h}!LCD\_\-DATA\_\-DDR@{LCD\_\-DATA\_\-DDR}}
\index{LCD\_\-DATA\_\-DDR@{LCD\_\-DATA\_\-DDR}!lc7981.h@{lc7981.h}} \index{LCD\_\-DATA\_\-DDR@{LCD\_\-DATA\_\-DDR}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-DATA\_\-DDR~DDRD}\label{lc7981_8h_0c114e723aa4c162c415fb6d4d963dd7} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-DATA\_\-DDR~DDRD}\label{lc7981_8h_0c114e723aa4c162c415fb6d4d963dd7}
Data-Direction-Register for Data.
\index{lc7981.h@{lc7981.h}!LCD\_\-EN@{LCD\_\-EN}} \index{lc7981.h@{lc7981.h}!LCD\_\-EN@{LCD\_\-EN}}
\index{LCD\_\-EN@{LCD\_\-EN}!lc7981.h@{lc7981.h}} \index{LCD\_\-EN@{LCD\_\-EN}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-EN~PC0}\label{lc7981_8h_1640ffbc0d8ec0f7edb04a2b93918072} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-EN~PC0}\label{lc7981_8h_1640ffbc0d8ec0f7edb04a2b93918072}
Strobe Pin.
\index{lc7981.h@{lc7981.h}!lcd\_\-en\_\-high@{lcd\_\-en\_\-high}} \index{lc7981.h@{lc7981.h}!lcd\_\-en\_\-high@{lcd\_\-en\_\-high}}
\index{lcd\_\-en\_\-high@{lcd\_\-en\_\-high}!lc7981.h@{lc7981.h}} \index{lcd\_\-en\_\-high@{lcd\_\-en\_\-high}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-en\_\-high()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-EN))}\label{lc7981_8h_e14be306d3620577abc8613d40401b04} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-en\_\-high()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-EN))}\label{lc7981_8h_e14be306d3620577abc8613d40401b04}
Set the strobe pin high.
\index{lc7981.h@{lc7981.h}!lcd\_\-en\_\-low@{lcd\_\-en\_\-low}} \index{lc7981.h@{lc7981.h}!lcd\_\-en\_\-low@{lcd\_\-en\_\-low}}
\index{lcd\_\-en\_\-low@{lcd\_\-en\_\-low}!lc7981.h@{lc7981.h}} \index{lcd\_\-en\_\-low@{lcd\_\-en\_\-low}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-en\_\-low()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-EN))}\label{lc7981_8h_d8dcdb36a9410fd96b2c936b7c9355dd} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-en\_\-low()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-EN))}\label{lc7981_8h_d8dcdb36a9410fd96b2c936b7c9355dd}
Set the strobe pin low.
\index{lc7981.h@{lc7981.h}!LCD\_\-GRAPHIC@{LCD\_\-GRAPHIC}} \index{lc7981.h@{lc7981.h}!LCD\_\-GRAPHIC@{LCD\_\-GRAPHIC}}
\index{LCD\_\-GRAPHIC@{LCD\_\-GRAPHIC}!lc7981.h@{lc7981.h}} \index{LCD\_\-GRAPHIC@{LCD\_\-GRAPHIC}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-GRAPHIC~1}\label{lc7981_8h_dfaedf8da8e73d39a98d709b519a3117} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-GRAPHIC~1}\label{lc7981_8h_dfaedf8da8e73d39a98d709b519a3117}
Constant for graphic mode.
\index{lc7981.h@{lc7981.h}!LCD\_\-GRAPHIC\_\-HEIGHT@{LCD\_\-GRAPHIC\_\-HEIGHT}} \index{lc7981.h@{lc7981.h}!LCD\_\-GRAPHIC\_\-HEIGHT@{LCD\_\-GRAPHIC\_\-HEIGHT}}
\index{LCD\_\-GRAPHIC\_\-HEIGHT@{LCD\_\-GRAPHIC\_\-HEIGHT}!lc7981.h@{lc7981.h}} \index{LCD\_\-GRAPHIC\_\-HEIGHT@{LCD\_\-GRAPHIC\_\-HEIGHT}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-GRAPHIC\_\-HEIGHT~80}\label{lc7981_8h_70265c4f840ef78872243e91c923af2f} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-GRAPHIC\_\-HEIGHT~80}\label{lc7981_8h_70265c4f840ef78872243e91c923af2f}
Vertical display size in pixels.
\index{lc7981.h@{lc7981.h}!LCD\_\-GRAPHIC\_\-WIDTH@{LCD\_\-GRAPHIC\_\-WIDTH}} \index{lc7981.h@{lc7981.h}!LCD\_\-GRAPHIC\_\-WIDTH@{LCD\_\-GRAPHIC\_\-WIDTH}}
\index{LCD\_\-GRAPHIC\_\-WIDTH@{LCD\_\-GRAPHIC\_\-WIDTH}!lc7981.h@{lc7981.h}} \index{LCD\_\-GRAPHIC\_\-WIDTH@{LCD\_\-GRAPHIC\_\-WIDTH}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-GRAPHIC\_\-WIDTH~160}\label{lc7981_8h_51e83be6f6929f2a29d5467cd937dfc6} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-GRAPHIC\_\-WIDTH~160}\label{lc7981_8h_51e83be6f6929f2a29d5467cd937dfc6}
Horizontal display size in pixels.
\index{lc7981.h@{lc7981.h}!LCD\_\-RS@{LCD\_\-RS}} \index{lc7981.h@{lc7981.h}!LCD\_\-RS@{LCD\_\-RS}}
\index{LCD\_\-RS@{LCD\_\-RS}!lc7981.h@{lc7981.h}} \index{LCD\_\-RS@{LCD\_\-RS}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-RS~PC4}\label{lc7981_8h_4781e073871c6f27f89b9463ad3a4ed1} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-RS~PC4}\label{lc7981_8h_4781e073871c6f27f89b9463ad3a4ed1}
Register-Select Pin of the Display.
\index{lc7981.h@{lc7981.h}!lcd\_\-rs\_\-high@{lcd\_\-rs\_\-high}} \index{lc7981.h@{lc7981.h}!lcd\_\-rs\_\-high@{lcd\_\-rs\_\-high}}
\index{lcd\_\-rs\_\-high@{lcd\_\-rs\_\-high}!lc7981.h@{lc7981.h}} \index{lcd\_\-rs\_\-high@{lcd\_\-rs\_\-high}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-rs\_\-high()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-RS))}\label{lc7981_8h_795b48274d3f80bc744a707b67fd93e9} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-rs\_\-high()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-RS))}\label{lc7981_8h_795b48274d3f80bc744a707b67fd93e9}
Set the Register-Select pin high.
\index{lc7981.h@{lc7981.h}!lcd\_\-rs\_\-low@{lcd\_\-rs\_\-low}} \index{lc7981.h@{lc7981.h}!lcd\_\-rs\_\-low@{lcd\_\-rs\_\-low}}
\index{lcd\_\-rs\_\-low@{lcd\_\-rs\_\-low}!lc7981.h@{lc7981.h}} \index{lcd\_\-rs\_\-low@{lcd\_\-rs\_\-low}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-rs\_\-low()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-RS))}\label{lc7981_8h_6edb13d59460246fb4cc32ada1c9f4a8} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-rs\_\-low()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-RS))}\label{lc7981_8h_6edb13d59460246fb4cc32ada1c9f4a8}
Set the Register-Select pin low.
\index{lc7981.h@{lc7981.h}!LCD\_\-RW@{LCD\_\-RW}} \index{lc7981.h@{lc7981.h}!LCD\_\-RW@{LCD\_\-RW}}
\index{LCD\_\-RW@{LCD\_\-RW}!lc7981.h@{lc7981.h}} \index{LCD\_\-RW@{LCD\_\-RW}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-RW~PC2}\label{lc7981_8h_26089a10ddd59a0dc7283c19ccc02533} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-RW~PC2}\label{lc7981_8h_26089a10ddd59a0dc7283c19ccc02533}
Read-Write-select Pin.
\index{lc7981.h@{lc7981.h}!lcd\_\-rw\_\-high@{lcd\_\-rw\_\-high}} \index{lc7981.h@{lc7981.h}!lcd\_\-rw\_\-high@{lcd\_\-rw\_\-high}}
\index{lcd\_\-rw\_\-high@{lcd\_\-rw\_\-high}!lc7981.h@{lc7981.h}} \index{lcd\_\-rw\_\-high@{lcd\_\-rw\_\-high}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-rw\_\-high()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-RW))}\label{lc7981_8h_d0ce3cd9b481370ad4de36eff08440c8} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-rw\_\-high()~(LCD\_\-CTRL $|$= (1 $<$$<$ LCD\_\-RW))}\label{lc7981_8h_d0ce3cd9b481370ad4de36eff08440c8}
Set the Read-Write-Select pin high.
\index{lc7981.h@{lc7981.h}!lcd\_\-rw\_\-low@{lcd\_\-rw\_\-low}} \index{lc7981.h@{lc7981.h}!lcd\_\-rw\_\-low@{lcd\_\-rw\_\-low}}
\index{lcd\_\-rw\_\-low@{lcd\_\-rw\_\-low}!lc7981.h@{lc7981.h}} \index{lcd\_\-rw\_\-low@{lcd\_\-rw\_\-low}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-rw\_\-low()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-RW))}\label{lc7981_8h_7f5ebe0ca71b1298a7d3423850cc82b1} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lcd\_\-rw\_\-low()~(LCD\_\-CTRL \&= $\sim$(1 $<$$<$ LCD\_\-RW))}\label{lc7981_8h_7f5ebe0ca71b1298a7d3423850cc82b1}
Set the Register-Select pin low.
\index{lc7981.h@{lc7981.h}!LCD\_\-TEXT@{LCD\_\-TEXT}} \index{lc7981.h@{lc7981.h}!LCD\_\-TEXT@{LCD\_\-TEXT}}
\index{LCD\_\-TEXT@{LCD\_\-TEXT}!lc7981.h@{lc7981.h}} \index{LCD\_\-TEXT@{LCD\_\-TEXT}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-TEXT~0}\label{lc7981_8h_90a69d37f5c80f3ded970acf2dacf4c0} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-TEXT~0}\label{lc7981_8h_90a69d37f5c80f3ded970acf2dacf4c0}
Constant for text mode.
\index{lc7981.h@{lc7981.h}!LCD\_\-TEXT\_\-COLUMNS@{LCD\_\-TEXT\_\-COLUMNS}} \index{lc7981.h@{lc7981.h}!LCD\_\-TEXT\_\-COLUMNS@{LCD\_\-TEXT\_\-COLUMNS}}
\index{LCD\_\-TEXT\_\-COLUMNS@{LCD\_\-TEXT\_\-COLUMNS}!lc7981.h@{lc7981.h}} \index{LCD\_\-TEXT\_\-COLUMNS@{LCD\_\-TEXT\_\-COLUMNS}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-TEXT\_\-COLUMNS~26}\label{lc7981_8h_82f0a630f3c41b5233f2ceb07c7dd736} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-TEXT\_\-COLUMNS~26}\label{lc7981_8h_82f0a630f3c41b5233f2ceb07c7dd736}
Number of columns in text mode.
\index{lc7981.h@{lc7981.h}!LCD\_\-TEXT\_\-LINES@{LCD\_\-TEXT\_\-LINES}} \index{lc7981.h@{lc7981.h}!LCD\_\-TEXT\_\-LINES@{LCD\_\-TEXT\_\-LINES}}
\index{LCD\_\-TEXT\_\-LINES@{LCD\_\-TEXT\_\-LINES}!lc7981.h@{lc7981.h}} \index{LCD\_\-TEXT\_\-LINES@{LCD\_\-TEXT\_\-LINES}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-TEXT\_\-LINES~10}\label{lc7981_8h_720ef60606ac38ca3a5ab96a9c2b8168} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-TEXT\_\-LINES~10}\label{lc7981_8h_720ef60606ac38ca3a5ab96a9c2b8168}
Number of lines in text mode.
\index{lc7981.h@{lc7981.h}!PIXEL\_\-OFF@{PIXEL\_\-OFF}} \index{lc7981.h@{lc7981.h}!PIXEL\_\-OFF@{PIXEL\_\-OFF}}
\index{PIXEL\_\-OFF@{PIXEL\_\-OFF}!lc7981.h@{lc7981.h}} \index{PIXEL\_\-OFF@{PIXEL\_\-OFF}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PIXEL\_\-OFF~0}\label{lc7981_8h_cda2f1b1cf6310700d0d91643c40e068} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PIXEL\_\-OFF~0}\label{lc7981_8h_cda2f1b1cf6310700d0d91643c40e068}
see lcd\_\-plot\_\-pixel
\index{lc7981.h@{lc7981.h}!PIXEL\_\-ON@{PIXEL\_\-ON}} \index{lc7981.h@{lc7981.h}!PIXEL\_\-ON@{PIXEL\_\-ON}}
\index{PIXEL\_\-ON@{PIXEL\_\-ON}!lc7981.h@{lc7981.h}} \index{PIXEL\_\-ON@{PIXEL\_\-ON}!lc7981.h@{lc7981.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PIXEL\_\-ON~1}\label{lc7981_8h_eb2d212a26da4a5a4d3231b2773023e5} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PIXEL\_\-ON~1}\label{lc7981_8h_eb2d212a26da4a5a4d3231b2773023e5}
see lcd\_\-plot\_\-pixel
\subsection{Function Documentation} \subsection{Function Documentation}
@ -236,6 +280,11 @@ This function will plot a bitmap with the upper left corner to the given coordin
And if you know a better way to do this, tell me.\par And if you know a better way to do this, tell me.\par
\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em x}]horizontal position of the bitmap \item[{\em y}]vertical position of the bitmap \item[{\em bitmap}]pointer to the bitmap in pgmspace \item[{\em w}]width of the bitmap \item[{\em h}]height of the bitmap\end{description}
\end{Desc}
This function is dedicated to Greta, one of the most important persons in my life so far.\par This function is dedicated to Greta, one of the most important persons in my life so far.\par
Even though I can't remember her actual name.\par Even though I can't remember her actual name.\par
\index{lc7981.h@{lc7981.h}!lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}} \index{lc7981.h@{lc7981.h}!lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}}

View File

@ -21,7 +21,7 @@
\vspace*{1cm} \vspace*{1cm}
{\large Generated by Doxygen 1.5.5}\\ {\large Generated by Doxygen 1.5.5}\\
\vspace*{0.5cm} \vspace*{0.5cm}
{\small Sun May 17 17:59:55 2009}\\ {\small Sun May 17 18:34:49 2009}\\
\end{center} \end{center}
\end{titlepage} \end{titlepage}
\clearemptydoublepage \clearemptydoublepage
@ -29,17 +29,12 @@
\tableofcontents \tableofcontents
\clearemptydoublepage \clearemptydoublepage
\pagenumbering{arabic} \pagenumbering{arabic}
\chapter{Namespace Index}
\input{namespaces}
\chapter{File Index} \chapter{File Index}
\input{files} \input{files}
\chapter{Namespace Documentation}
\input{namespaceuplaod__repo}
\chapter{File Documentation} \chapter{File Documentation}
\input{button_8h} \input{button_8h}
\include{lc7981_8c} \include{lc7981_8c}
\include{lc7981_8h} \include{lc7981_8h}
\include{main_8c} \include{main_8c}
\include{uplaod__repo_8py}
\printindex \printindex
\end{document} \end{document}

View File

@ -542,7 +542,7 @@ RECURSIVE = NO
# excluded from the INPUT source files. This way you can easily exclude a # excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag. # subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE = EXCLUDE = uplaod_repo.py
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or # The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded # directories that are symbolic links (a Unix filesystem feature) are excluded

View File

@ -275,8 +275,15 @@ uint8_t xr;
* don't worry if you don't understand it at first sight. \n * don't worry if you don't understand it at first sight. \n
* And if you know a better way to do this, tell me.\n * And if you know a better way to do this, tell me.\n
* *
* @param x horizontal position of the bitmap
* @param y vertical position of the bitmap
* @param bitmap pointer to the bitmap in pgmspace
* @param w width of the bitmap
* @param h height of the bitmap
*
* This function is dedicated to Greta, one of the most important persons in my life so far.\n * This function is dedicated to Greta, one of the most important persons in my life so far.\n
* Even though I can't remember her actual name.\n * Even though I can't remember her actual name.\n
*
*/ */
void lcd_plot_bitmap(uint8_t x_off, uint8_t y_off, const uint8_t *bitmap, uint8_t w, uint8_t h) { void lcd_plot_bitmap(uint8_t x_off, uint8_t y_off, const uint8_t *bitmap, uint8_t w, uint8_t h) {
uint8_t x,y,cur,curs,sr,dr; uint8_t x,y,cur,curs,sr,dr;

View File

@ -22,43 +22,43 @@
*/ */
#ifndef LC7981_H_ #ifndef LC7981_H_
#define LC7981_H_ LC7981_H_ #define LC7981_H_ LC7981_H_ //!< protects this file from beeing double included
#include <avr/io.h> #include <avr/io.h>
#include <util/delay.h> #include <util/delay.h>
#include <avr/pgmspace.h> #include <avr/pgmspace.h>
#define LCD_CTRL PORTC #define LCD_CTRL PORTC //!< Port used for control signals
#define LCD_CRTL_DDR DDRC #define LCD_CRTL_DDR DDRC //!< Data-Direction-Register for the control signals
#define LCD_RS PC4 #define LCD_RS PC4 //!< Register-Select Pin of the Display
#define LCD_RW PC2 #define LCD_RW PC2 //!< Read-Write-select Pin
#define LCD_EN PC0 #define LCD_EN PC0 //!< Strobe Pin
#define LCD_DATA PORTD #define LCD_DATA PORTD //!< Port used for data
#define LCD_DATA_DDR DDRD #define LCD_DATA_DDR DDRD //!< Data-Direction-Register for Data
// Macros for (un)setting the control pins // Macros for (un)setting the control pins
#define lcd_rs_high() (LCD_CTRL |= (1 << LCD_RS)) #define lcd_rs_high() (LCD_CTRL |= (1 << LCD_RS)) //!< Set the Register-Select pin high
#define lcd_rs_low() (LCD_CTRL &= ~(1 << LCD_RS)) #define lcd_rs_low() (LCD_CTRL &= ~(1 << LCD_RS)) //!< Set the Register-Select pin low
#define lcd_rw_high() (LCD_CTRL |= (1 << LCD_RW)) #define lcd_rw_high() (LCD_CTRL |= (1 << LCD_RW)) //!< Set the Read-Write-Select pin high
#define lcd_rw_low() (LCD_CTRL &= ~(1 << LCD_RW)) #define lcd_rw_low() (LCD_CTRL &= ~(1 << LCD_RW)) //!< Set the Register-Select pin low
#define lcd_en_high() (LCD_CTRL |= (1 << LCD_EN)) #define lcd_en_high() (LCD_CTRL |= (1 << LCD_EN)) //!< Set the strobe pin high
#define lcd_en_low() (LCD_CTRL &= ~(1 << LCD_EN)) #define lcd_en_low() (LCD_CTRL &= ~(1 << LCD_EN)) //!< Set the strobe pin low
#define LCD_TEXT 0 #define LCD_TEXT 0 //!< Constant for text mode
#define LCD_TEXT_LINES 10 #define LCD_TEXT_LINES 10 //!< Number of lines in text mode
#define LCD_TEXT_COLUMNS 26 #define LCD_TEXT_COLUMNS 26 //!< Number of columns in text mode
#define LCD_GRAPHIC 1 #define LCD_GRAPHIC 1 //!< Constant for graphic mode
#define LCD_GRAPHIC_WIDTH 160 #define LCD_GRAPHIC_WIDTH 160 //!< Horizontal display size in pixels
#define LCD_GRAPHIC_HEIGHT 80 #define LCD_GRAPHIC_HEIGHT 80 //!< Vertical display size in pixels
#define PIXEL_ON 1 #define PIXEL_ON 1 //!< see lcd_plot_pixel
#define PIXEL_OFF 0 #define PIXEL_OFF 0 //!< see lcd_plot_pixel
void lcd_init(uint8_t mode); void lcd_init(uint8_t mode);
inline void lcd_clear(); inline void lcd_clear();