⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcd__functions_8c.html

📁 SMS傳送Sourcode,compiler with C,AT command
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>AVR323 Interfacing GSM modems: LCD_functions.c File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.7 --><div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>ATAVRBFLY_FILES/LCD_functions.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>Atmel Corporation<p><ul><li>File : <a class="el" href="LCD__functions_8c.html">LCD_functions.c</a></li><li>Compiler : IAR EWAAVR 4.11a</li></ul><p><ul><li>Support mail : <a href="mailto:avr@atmel.com">avr@atmel.com</a></li></ul><p><ul><li>Supported devices : All devices with a UART/USART can be used. The example is written for ATmega169</li></ul><p><ul><li>AppNote : AVR323 - Interfacing GSM modems</li></ul><p><ul><li>Description : Example of how to use AT-Commands to control a GSM modem</li></ul><p><dl compact><dt><b>Revision</b></dt><dd>1.2 </dd></dl><dl compact><dt><b>Date</b></dt><dd>Wednesday, January 26, 2005 10:43:44 UTC </dd></dl><p>Definition in file <a class="el" href="LCD__functions_8c-source.html">LCD_functions.c</a>.<p><code>#include "iom169.h"</code><br><code>#include "<a class="el" href="main_8h-source.html">main.h</a>"</code><br><code>#include "Lcd_driver.h"</code><br><code>#include "<a class="el" href="Lcd__functions_8h-source.html">Lcd_functions.h</a>"</code><br><code>#include "<a class="el" href="BCD_8h-source.html">BCD.h</a>"</code><br><p>Include dependency graph for LCD_functions.c:<p><center><img src="LCD__functions_8c__incl.png" border="0" usemap="#LCD_functions.c_map" alt="Include dependency graph"></center><map name="LCD_functions.c_map"><area href="main_8h.html" shape="rect" coords="108,7,169,34" alt=""><area href="Lcd__functions_8h.html" shape="rect" coords="313,7,428,34" alt=""><area href="BCD_8h.html" shape="rect" coords="452,7,513,34" alt=""></map><p><a href="LCD__functions_8c-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></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="LCD__functions_8c.html#a0">FALSE</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="LCD__functions_8c.html#a1">TRUE</a>&nbsp;&nbsp;&nbsp;(!FALSE)</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="LCD__functions_8c.html#a7">LCD_Clear</a> (void)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__functions_8c.html#a8">LCD_Colon</a> (char show)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__functions_8c.html#a10">LCD_FlashReset</a> (void)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__functions_8c.html#a6">LCD_putc</a> (char digit, char character)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__functions_8c.html#a5">LCD_puts</a> (char *pStr, char scrollmode)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__functions_8c.html#a4">LCD_puts_f</a> (char __flash *pFlashStr, char scrollmode)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__functions_8c.html#a9">LCD_UpdateRequired</a> (char update, char scrollmode)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__functions_8c.html#a11">SetContrast</a> (char <a class="el" href="main_8h.html#a27">input</a>)</td></tr><tr><td colspan=2><br><h2>Variables</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__functions_8c.html#a2">CONTRAST</a> = LCD_INITIAL_CONTRAST</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__functions_8c.html#a3">gLCD_Start_Scroll_Timer</a></td></tr></table><hr><h2>Define Documentation</h2><a class="anchor" name="a0" doxytag="LCD_functions.c::FALSE" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define FALSE&nbsp;&nbsp;&nbsp;0          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Definition at line <a class="el" href="LCD__functions_8c-source.html#l00030">30</a> of file <a class="el" href="LCD__functions_8c-source.html">LCD_functions.c</a>.<p>Referenced by <a class="el" href="button_8c-source.html#l00161">getkey()</a>, <a class="el" href="LCD__driver_8c-source.html#l00134">LCD_Init()</a>, <a class="el" href="LCD__driver_8c-source.html#l00255">LCD_SOF_interrupt()</a>, and <a class="el" href="button_8c-source.html#l00092">PinChangeInterrupt()</a>.    </td>  </tr></table><a class="anchor" name="a1" doxytag="LCD_functions.c::TRUE" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TRUE&nbsp;&nbsp;&nbsp;(!FALSE)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Definition at line <a class="el" href="LCD__functions_8c-source.html#l00031">31</a> of file <a class="el" href="LCD__functions_8c-source.html">LCD_functions.c</a>.<p>Referenced by <a class="el" href="LCD__driver_8c-source.html#l00255">LCD_SOF_interrupt()</a>, <a class="el" href="button_8c-source.html#l00092">PinChangeInterrupt()</a>, and <a class="el" href="LCD__functions_8c-source.html#l00230">SetContrast()</a>.    </td>  </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="a7" doxytag="LCD_functions.c::LCD_Clear" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void LCD_Clear           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Definition at line <a class="el" href="LCD__functions_8c-source.html#l00151">151</a> of file <a class="el" href="LCD__functions_8c-source.html">LCD_functions.c</a>.<p>References <a class="el" href="LCD__driver_8c-source.html#l00042">gTextBuffer</a>, and <a class="el" href="LCD__driver_8h-source.html#l00030">TEXTBUFFER_SIZE</a>.<p>Referenced by <a class="el" href="LCD__functions_8c-source.html#l00230">SetContrast()</a>.<p><pre class="fragment"><div>00152 {00153     <span class="keywordtype">char</span> i;00154 00155     <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="LCD__driver_8h.html#a4">TEXTBUFFER_SIZE</a>; i++)00156         <a class="code" href="LCD__driver_8c.html#a4">gTextBuffer</a>[i] = <span class="charliteral">' '</span>;00157 }</div></pre>    </td>  </tr></table><a class="anchor" name="a8" doxytag="LCD_functions.c::LCD_Colon" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void LCD_Colon           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>show</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Definition at line <a class="el" href="LCD__functions_8c-source.html#l00171">171</a> of file <a class="el" href="LCD__functions_8c-source.html">LCD_functions.c</a>.<p>References <a class="el" href="LCD__driver_8c-source.html#l00058">gColon</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00084">main()</a>.<p><pre class="fragment"><div>00172 {00173     <a class="code" href="LCD__driver_8c.html#a9">gColon</a> = show;00174 }</div></pre>    </td>  </tr></table><a class="anchor" name="a10" doxytag="LCD_functions.c::LCD_FlashReset" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void LCD_FlashReset           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Definition at line <a class="el" href="LCD__functions_8c-source.html#l00212">212</a> of file <a class="el" href="LCD__functions_8c-source.html">LCD_functions.c</a>.<p>References <a class="el" href="LCD__driver_8c-source.html#l00055">gFlashTimer</a>.<p><pre class="fragment"><div>00213 {00214     <a class="code" href="LCD__driver_8c.html#a8">gFlashTimer</a> = 0;00215 }</div></pre>    </td>  </tr></table><a class="anchor" name="a6" doxytag="LCD_functions.c::LCD_putc" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void LCD_putc           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char&nbsp;</td>          <td class="mdname" nowrap> <em>digit</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>char&nbsp;</td>          <td class="mdname" nowrap> <em>character</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Definition at line <a class="el" href="LCD__functions_8c-source.html#l00133">133</a> of file <a class="el" href="LCD__functions_8c-source.html">LCD_functions.c</a>.<p>References <a class="el" href="LCD__driver_8c-source.html#l00042">gTextBuffer</a>, and <a class="el" href="LCD__driver_8h-source.html#l00030">TEXTBUFFER_SIZE</a>.<p>Referenced by <a class="el" href="LCD__functions_8c-source.html#l00230">SetContrast()</a>.<p><pre class="fragment"><div>00134 {00135     <span class="keywordflow">if</span> (digit &lt; <a class="code" href="LCD__driver_8h.html#a4">TEXTBUFFER_SIZE</a>)00136         <a class="code" href="LCD__driver_8c.html#a4">gTextBuffer</a>[digit] = character;00137 }</div></pre>    </td>  </tr></table><a class="anchor" name="a5" doxytag="LCD_functions.c::LCD_puts" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void LCD_puts           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char *&nbsp;</td>          <td class="mdname" nowrap> <em>pStr</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>char&nbsp;</td>          <td class="mdname" nowrap> <em>scrollmode</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -