📄 lpcgpio_8h-source.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>Procyon ARMlib-LPC2100: lpcGPIO.h Source File</title><link href="dox.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.6 --><div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>lpcGPIO.h</h1><div class="fragment"><pre>00001 <span class="comment">/******************************************************************************</span>00002 <span class="comment"> *</span>00003 <span class="comment"> * $RCSfile: $</span>00004 <span class="comment"> * $Revision: $</span>00005 <span class="comment"> *</span>00006 <span class="comment"> * Header file for Philips LPC ARM Processors.</span>00007 <span class="comment"> * Copyright 2004 R O SoftWare</span>00008 <span class="comment"> *</span>00009 <span class="comment"> * No guarantees, warrantees, or promises, implied or otherwise.</span>00010 <span class="comment"> * May be used for hobby or commercial purposes provided copyright</span>00011 <span class="comment"> * notice remains intact.</span>00012 <span class="comment"> *</span>00013 <span class="comment"> *****************************************************************************/</span>00014 <span class="preprocessor">#ifndef INC_LPC_GPIO_H</span>00015 <span class="preprocessor"></span><span class="preprocessor">#define INC_LPC_GPIO_H</span>00016 <span class="preprocessor"></span>00017 <span class="comment">// General Purpose Input/Output Registers (GPIO)</span>00018 <span class="keyword">typedef</span> <span class="keyword">struct</span>00019 <span class="keyword"></span>{00020 REG32 in0; <span class="comment">// P0 Pin Value Register</span>00021 REG32 set0; <span class="comment">// P0 Pin Output Set Register</span>00022 REG32 dir0; <span class="comment">// P0 Pin Direction Register</span>00023 REG32 clr0; <span class="comment">// P0 Pin Output Clear Register</span>00024 REG32 in1; <span class="comment">// P1 Pin Value Register</span>00025 REG32 set1; <span class="comment">// P1 Pin Output Set Register</span>00026 REG32 dir1; <span class="comment">// P1 Pin Direction Register</span>00027 REG32 clr1; <span class="comment">// P1 Pin Output Clear Register</span>00028 REG32 in2; <span class="comment">// P2 Pin Value Register</span>00029 REG32 set2; <span class="comment">// P2 Pin Output Set Register</span>00030 REG32 dir2; <span class="comment">// P2 Pin Direction Register</span>00031 REG32 clr2; <span class="comment">// P2 Pin Output Clear Register</span>00032 REG32 in3; <span class="comment">// P3 Pin Value Register</span>00033 REG32 set3; <span class="comment">// P3 Pin Output Set Register</span>00034 REG32 dir3; <span class="comment">// P3 Pin Direction Register</span>00035 REG32 clr3; <span class="comment">// P3 Pin Output Clear Register</span>00036 } gpioRegs_t;00037 00038 <span class="preprocessor">#endif</span></pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Jul 13 03:38:12 2004 for Procyon ARMlib-LPC2100 by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.6 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -