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

📄 lcd__driver_8h.html

📁 SMS傳送Sourcode,compiler with C,AT command
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<!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_driver.h 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_driver.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>Atmel Corporation<p><ul><li>File : <a class="el" href="LCD__driver_8h.html">LCD_driver.h</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__driver_8h-source.html">LCD_driver.h</a>.<p><p>This graph shows which files directly or indirectly include this file:<p><center><img src="LCD__driver_8h__dep__incl.png" border="0" usemap="#LCD_driver.hdep_map" alt="Included by dependency graph"></center><map name="LCD_driver.hdep_map"><area href="LCD__driver_8c.html" shape="rect" coords="7,7,105,34" alt=""><area href="main_8c.html" shape="rect" coords="129,7,191,34" alt=""></map><p><a href="LCD__driver_8h-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__driver_8h.html#a10">LCD_CONTRAST_LEVEL</a>(level)&nbsp;&nbsp;&nbsp;LCDCCR=(0x0F &amp; level)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a2">LCD_FLASH_SEED</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="LCD__driver_8h.html#a0">LCD_INITIAL_CONTRAST</a>&nbsp;&nbsp;&nbsp;0x0F</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a3">LCD_REGISTER_COUNT</a>&nbsp;&nbsp;&nbsp;20</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a8">LCD_SET_COLON</a>(active)&nbsp;&nbsp;&nbsp;<a class="el" href="LCD__driver_8h.html#a12">LCD_Data</a>[8] = active</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a1">LCD_TIMER_SEED</a>&nbsp;&nbsp;&nbsp;3</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a9">pLCDREG</a>&nbsp;&nbsp;&nbsp;((unsigned char *)(0xEC))</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a6">SCROLLMODE_LOOP</a>&nbsp;&nbsp;&nbsp;0x02</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a5">SCROLLMODE_ONCE</a>&nbsp;&nbsp;&nbsp;0x01</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a7">SCROLLMODE_WAVE</a>&nbsp;&nbsp;&nbsp;0x03</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a4">TEXTBUFFER_SIZE</a>&nbsp;&nbsp;&nbsp;25</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__driver_8h.html#a20">LCD_AllSegments</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__driver_8h.html#a18">LCD_Init</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__driver_8h.html#a19">LCD_WriteDigit</a> (char <a class="el" href="main_8h.html#a27">input</a>, char digit)</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__driver_8h.html#a16">gColon</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a15">gFlashTimer</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a11">gLCD_Update_Required</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>signed char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a17">gScroll</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a14">gScrollMode</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a13">gTextBuffer</a> [TEXTBUFFER_SIZE]</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="LCD__driver_8h.html#a12">LCD_Data</a> [LCD_REGISTER_COUNT]</td></tr></table><hr><h2>Define Documentation</h2><a class="anchor" name="a10" doxytag="LCD_driver.h::LCD_CONTRAST_LEVEL" ></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 LCD_CONTRAST_LEVEL          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">level&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;LCDCCR=(0x0F &amp; level)</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__driver_8h-source.html#l00046">46</a> of file <a class="el" href="LCD__driver_8h-source.html">LCD_driver.h</a>.<p>Referenced by <a class="el" href="LCD__driver_8c-source.html#l00134">LCD_Init()</a>, and <a class="el" href="LCD__functions_8c-source.html#l00230">SetContrast()</a>.    </td>  </tr></table><a class="anchor" name="a2" doxytag="LCD_driver.h::LCD_FLASH_SEED" ></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 LCD_FLASH_SEED&nbsp;&nbsp;&nbsp;10          </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__driver_8h-source.html#l00028">28</a> of file <a class="el" href="LCD__driver_8h-source.html">LCD_driver.h</a>.<p>Referenced by <a class="el" href="LCD__driver_8c-source.html#l00255">LCD_SOF_interrupt()</a>.    </td>  </tr></table><a class="anchor" name="a0" doxytag="LCD_driver.h::LCD_INITIAL_CONTRAST" ></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 LCD_INITIAL_CONTRAST&nbsp;&nbsp;&nbsp;0x0F          </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__driver_8h-source.html#l00026">26</a> of file <a class="el" href="LCD__driver_8h-source.html">LCD_driver.h</a>.<p>Referenced by <a class="el" href="LCD__driver_8c-source.html#l00134">LCD_Init()</a>.    </td>  </tr></table><a class="anchor" name="a3" doxytag="LCD_driver.h::LCD_REGISTER_COUNT" ></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 LCD_REGISTER_COUNT&nbsp;&nbsp;&nbsp;20          </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__driver_8h-source.html#l00029">29</a> of file <a class="el" href="LCD__driver_8h-source.html">LCD_driver.h</a>.<p>Referenced by <a class="el" href="LCD__driver_8c-source.html#l00230">LCD_AllSegments()</a>, and <a class="el" href="LCD__driver_8c-source.html#l00255">LCD_SOF_interrupt()</a>.    </td>  </tr></table><a class="anchor" name="a8" doxytag="LCD_driver.h::LCD_SET_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"> #define LCD_SET_COLON          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">active&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="LCD__driver_8h.html#a12">LCD_Data</a>[8] = active</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__driver_8h-source.html#l00040">40</a> of file <a class="el" href="LCD__driver_8h-source.html">LCD_driver.h</a>.    </td>  </tr></table><a class="anchor" name="a1" doxytag="LCD_driver.h::LCD_TIMER_SEED" ></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 LCD_TIMER_SEED&nbsp;&nbsp;&nbsp;3          </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__driver_8h-source.html#l00027">27</a> of file <a class="el" href="LCD__driver_8h-source.html">LCD_driver.h</a>.<p>Referenced by <a class="el" href="LCD__driver_8c-source.html#l00255">LCD_SOF_interrupt()</a>.    </td>  </tr></table><a class="anchor" name="a9" doxytag="LCD_driver.h::pLCDREG" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">

⌨️ 快捷键说明

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