📄 button_8h.html
字号:
<!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: button.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 Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>ATAVRBFLY_FILES/button.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>Atmel Corporation<p><ul><li>File : <a class="el" href="button_8h.html">button.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="button_8h-source.html">button.h</a>.<p><p>This graph shows which files directly or indirectly include this file:<p><center><img src="button_8h__dep__incl.png" border="0" usemap="#button.hdep_map" alt="Included by dependency graph"></center><map name="button.hdep_map"><area href="button_8c.html" shape="rect" coords="7,7,76,34" alt=""><area href="main_8c.html" shape="rect" coords="100,7,161,34" alt=""></map><p><a href="button_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 </td><td class="memItemRight" valign=bottom><a class="el" href="button_8h.html#a2">BUTTON_A</a> 6</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="button_8h.html#a3">BUTTON_B</a> 7</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="button_8h.html#a4">BUTTON_C</a> 2</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="button_8h.html#a5">BUTTON_D</a> 3</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="button_8h.html#a6">BUTTON_O</a> 4</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="button_8h.html#a0">PINB_MASK</a> ((1<<PINB4)|(1<<PINB6)|(1<<PINB7))</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="button_8h.html#a1">PINE_MASK</a> ((1<<PINE2)|(1<<PINE3))</td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="button_8h.html#a8">Button_Init</a> (void)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="button_8h.html#a10">ButtonBouncing</a> (void)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="button_8h.html#a9">getkey</a> (void)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="button_8h.html#a7">PinChangeInterrupt</a> (void)</td></tr></table><hr><h2>Define Documentation</h2><a class="anchor" name="a2" doxytag="button.h::BUTTON_A" ></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 BUTTON_A 6 </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>Definition at line <a class="el" href="button_8h-source.html#l00029">29</a> of file <a class="el" href="button_8h-source.html">button.h</a>.<p>Referenced by <a class="el" href="button_8c-source.html#l00092">PinChangeInterrupt()</a>. </td> </tr></table><a class="anchor" name="a3" doxytag="button.h::BUTTON_B" ></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 BUTTON_B 7 </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>Definition at line <a class="el" href="button_8h-source.html#l00030">30</a> of file <a class="el" href="button_8h-source.html">button.h</a>.<p>Referenced by <a class="el" href="button_8c-source.html#l00092">PinChangeInterrupt()</a>. </td> </tr></table><a class="anchor" name="a4" doxytag="button.h::BUTTON_C" ></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 BUTTON_C 2 </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>Definition at line <a class="el" href="button_8h-source.html#l00031">31</a> of file <a class="el" href="button_8h-source.html">button.h</a>.<p>Referenced by <a class="el" href="button_8c-source.html#l00092">PinChangeInterrupt()</a>. </td> </tr></table><a class="anchor" name="a5" doxytag="button.h::BUTTON_D" ></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 BUTTON_D 3 </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>Definition at line <a class="el" href="button_8h-source.html#l00032">32</a> of file <a class="el" href="button_8h-source.html">button.h</a>.<p>Referenced by <a class="el" href="button_8c-source.html#l00092">PinChangeInterrupt()</a>. </td> </tr></table><a class="anchor" name="a6" doxytag="button.h::BUTTON_O" ></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 BUTTON_O 4 </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>Definition at line <a class="el" href="button_8h-source.html#l00033">33</a> of file <a class="el" href="button_8h-source.html">button.h</a>.<p>Referenced by <a class="el" href="button_8c-source.html#l00092">PinChangeInterrupt()</a>. </td> </tr></table><a class="anchor" name="a0" doxytag="button.h::PINB_MASK" ></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 PINB_MASK ((1<<PINB4)|(1<<PINB6)|(1<<PINB7)) </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>Definition at line <a class="el" href="button_8h-source.html#l00026">26</a> of file <a class="el" href="button_8h-source.html">button.h</a>.<p>Referenced by <a class="el" href="button_8c-source.html#l00050">Button_Init()</a>, and <a class="el" href="button_8c-source.html#l00092">PinChangeInterrupt()</a>. </td> </tr></table><a class="anchor" name="a1" doxytag="button.h::PINE_MASK" ></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 PINE_MASK ((1<<PINE2)|(1<<PINE3)) </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -