📄 lpc210x_8h-source.html
字号:
00202 <span class="comment"></span><span class="comment">// General Purpose Input/Output</span>00203 <span class="preprocessor">#define GPIO ((gpioRegs_t *)0xE0028000)</span>00204 <span class="preprocessor"></span>00205 <span class="comment">// GPIO Registers</span>00206 <span class="preprocessor">#define IOPIN GPIO->in0 </span><span class="comment">/* Pin Value Register */</span>00207 <span class="preprocessor">#define IOSET GPIO->set0 </span><span class="comment">/* Pin Output Set Register */</span>00208 <span class="preprocessor">#define IODIR GPIO->dir0 </span><span class="comment">/* Pin Direction Register */</span>00209 <span class="preprocessor">#define IOCLR GPIO->clr0 </span><span class="comment">/* Pin Output Clear Register */</span>00210 <span class="comment"></span>00211 <span class="comment">///////////////////////////////////////////////////////////////////////////////</span>00212 <span class="comment"></span><span class="comment">// Pin Connect Block</span>00213 <span class="preprocessor">#define PINSEL ((pinRegs_t *)0xE002C000)</span>00214 <span class="preprocessor"></span>00215 <span class="comment">// Pin Connect Block Registers</span>00216 <span class="preprocessor">#define PINSEL0 PINSEL->sel0 </span><span class="comment">/* Pin Function Select Register 0 */</span>00217 <span class="preprocessor">#define PINSEL1 PINSEL->sel1 </span><span class="comment">/* Pin Function Select Register 1 */</span>00218 <span class="comment"></span>00219 <span class="comment">///////////////////////////////////////////////////////////////////////////////</span>00220 <span class="comment"></span><span class="comment">// System Contol Block</span>00221 <span class="preprocessor">#define SCB ((scbRegs_t *)0xE01FC000)</span>00222 <span class="preprocessor"></span>00223 <span class="comment">// Memory Accelerator Module Registers (MAM)</span>00224 <span class="preprocessor">#define MAMCR SCB->mam.cr </span><span class="comment">/* Control Register */</span>00225 <span class="preprocessor">#define MAMTIM SCB->mam.tim </span><span class="comment">/* Timing Control Register */</span>00226 00227 <span class="comment">// Memory Mapping Control Register</span>00228 <span class="preprocessor">#define MEMMAP SCB->memmap</span>00229 <span class="preprocessor"></span>00230 <span class="comment">// Phase Locked Loop Registers (PLL)</span>00231 <span class="preprocessor">#define PLLCON SCB->pll.con </span><span class="comment">/* Control Register */</span>00232 <span class="preprocessor">#define PLLCFG SCB->pll.cfg </span><span class="comment">/* Configuration Register */</span>00233 <span class="preprocessor">#define PLLSTAT SCB->pll.stat </span><span class="comment">/* Status Register */</span>00234 <span class="preprocessor">#define PLLFEED SCB->pll.feed </span><span class="comment">/* Feed Register */</span>00235 00236 <span class="comment">// Power Control Registers</span>00237 <span class="preprocessor">#define PCON SCB->p.con </span><span class="comment">/* Control Register */</span>00238 <span class="preprocessor">#define PCONP SCB->p.conp </span><span class="comment">/* Peripherals Register */</span>00239 00240 <span class="comment">// VPB Divider Register</span>00241 <span class="preprocessor">#define VPBDIV SCB->vpbdiv</span>00242 <span class="preprocessor"></span>00243 <span class="comment">// External Interrupt Registers</span>00244 <span class="preprocessor">#define EXTINT SCB->ext.flag </span><span class="comment">/* Flag Register */</span>00245 <span class="preprocessor">#define EXTWAKE SCB->ext.wake </span><span class="comment">/* Wakeup Register */</span>00246 <span class="comment"></span>00247 <span class="comment">///////////////////////////////////////////////////////////////////////////////</span>00248 <span class="comment"></span><span class="comment">// Vectored Interrupt Controller</span>00249 <span class="preprocessor">#define VIC ((vicRegs_t *)0xFFFFF000)</span>00250 <span class="preprocessor"></span>00251 <span class="comment">// Vectored Interrupt Controller Registers</span>00252 <span class="preprocessor">#define VICIRQStatus VIC->irqStatus </span><span class="comment">/* IRQ Status Register */</span>00253 <span class="preprocessor">#define VICFIQStatus VIC->fiqStatus </span><span class="comment">/* FIQ Status Register */</span>00254 <span class="preprocessor">#define VICRawIntr VIC->rawIntr </span><span class="comment">/* Raw Interrupt Status Register */</span>00255 <span class="preprocessor">#define VICIntSelect VIC->intSelect </span><span class="comment">/* Interrupt Select Register */</span>00256 <span class="preprocessor">#define VICIntEnable VIC->intEnable </span><span class="comment">/* Interrupt Enable Register */</span>00257 <span class="preprocessor">#define VICIntEnClear VIC->intEnClear </span><span class="comment">/* Interrupt Enable Clear Register */</span>00258 <span class="preprocessor">#define VICSoftInt VIC->softInt </span><span class="comment">/* Software Interrupt Register */</span>00259 <span class="preprocessor">#define VICSoftIntClear VIC->softIntClear </span><span class="comment">/* Software Interrupt Clear Register */</span>00260 <span class="preprocessor">#define VICProtection VIC->protection </span><span class="comment">/* Protection Enable Register */</span>00261 <span class="preprocessor">#define VICVectAddr VIC->vectAddr </span><span class="comment">/* Vector Address Register */</span>00262 <span class="preprocessor">#define VICDefVectAddr VIC->defVectAddr </span><span class="comment">/* Default Vector Address Register */</span>00263 <span class="preprocessor">#define VICVectAddr0 VIC->vectAddr0 </span><span class="comment">/* Vector Address 0 Register */</span>00264 <span class="preprocessor">#define VICVectAddr1 VIC->vectAddr1 </span><span class="comment">/* Vector Address 1 Register */</span>00265 <span class="preprocessor">#define VICVectAddr2 VIC->vectAddr2 </span><span class="comment">/* Vector Address 2 Register */</span>00266 <span class="preprocessor">#define VICVectAddr3 VIC->vectAddr3 </span><span class="comment">/* Vector Address 3 Register */</span>00267 <span class="preprocessor">#define VICVectAddr4 VIC->vectAddr4 </span><span class="comment">/* Vector Address 4 Register */</span>00268 <span class="preprocessor">#define VICVectAddr5 VIC->vectAddr5 </span><span class="comment">/* Vector Address 5 Register */</span>00269 <span class="preprocessor">#define VICVectAddr6 VIC->vectAddr6 </span><span class="comment">/* Vector Address 6 Register */</span>00270 <span class="preprocessor">#define VICVectAddr7 VIC->vectAddr7 </span><span class="comment">/* Vector Address 7 Register */</span>00271 <span class="preprocessor">#define VICVectAddr8 VIC->vectAddr8 </span><span class="comment">/* Vector Address 8 Register */</span>00272 <span class="preprocessor">#define VICVectAddr9 VIC->vectAddr9 </span><span class="comment">/* Vector Address 9 Register */</span>00273 <span class="preprocessor">#define VICVectAddr10 VIC->vectAddr10 </span><span class="comment">/* Vector Address 10 Register */</span>00274 <span class="preprocessor">#define VICVectAddr11 VIC->vectAddr11 </span><span class="comment">/* Vector Address 11 Register */</span>00275 <span class="preprocessor">#define VICVectAddr12 VIC->vectAddr12 </span><span class="comment">/* Vector Address 12 Register */</span>00276 <span class="preprocessor">#define VICVectAddr13 VIC->vectAddr13 </span><span class="comment">/* Vector Address 13 Register */</span>00277 <span class="preprocessor">#define VICVectAddr14 VIC->vectAddr14 </span><span class="comment">/* Vector Address 14 Register */</span>00278 <span class="preprocessor">#define VICVectAddr15 VIC->vectAddr15 </span><span class="comment">/* Vector Address 15 Register */</span>00279 <span class="preprocessor">#define VICVectCntl0 VIC->vectCntl0 </span><span class="comment">/* Vector Control 0 Register */</span>00280 <span class="preprocessor">#define VICVectCntl1 VIC->vectCntl1 </span><span class="comment">/* Vector Control 1 Register */</span>00281 <span class="preprocessor">#define VICVectCntl2 VIC->vectCntl2 </span><span class="comment">/* Vector Control 2 Register */</span>00282 <span class="preprocessor">#define VICVectCntl3 VIC->vectCntl3 </span><span class="comment">/* Vector Control 3 Register */</span>00283 <span class="preprocessor">#define VICVectCntl4 VIC->vectCntl4 </span><span class="comment">/* Vector Control 4 Register */</span>00284 <span class="preprocessor">#define VICVectCntl5 VIC->vectCntl5 </span><span class="comment">/* Vector Control 5 Register */</span>00285 <span class="preprocessor">#define VICVectCntl6 VIC->vectCntl6 </span><span class="comment">/* Vector Control 6 Register */</span>00286 <span class="preprocessor">#define VICVectCntl7 VIC->vectCntl7 </span><span class="comment">/* Vector Control 7 Register */</span>00287 <span class="preprocessor">#define VICVectCntl8 VIC->vectCntl8 </span><span class="comment">/* Vector Control 8 Register */</span>00288 <span class="preprocessor">#define VICVectCntl9 VIC->vectCntl9 </span><span class="comment">/* Vector Control 9 Register */</span>00289 <span class="preprocessor">#define VICVectCntl10 VIC->vectCntl10 </span><span class="comment">/* Vector Control 10 Register */</span>00290 <span class="preprocessor">#define VICVectCntl11 VIC->vectCntl11 </span><span class="comment">/* Vector Control 11 Register */</span>00291 <span class="preprocessor">#define VICVectCntl12 VIC->vectCntl12 </span><span class="comment">/* Vector Control 12 Register */</span>00292 <span class="preprocessor">#define VICVectCntl13 VIC->vectCntl13 </span><span class="comment">/* Vector Control 13 Register */</span>00293 <span class="preprocessor">#define VICVectCntl14 VIC->vectCntl14 </span><span class="comment">/* Vector Control 14 Register */</span>00294 <span class="preprocessor">#define VICVectCntl15 VIC->vectCntl15 </span><span class="comment">/* Vector Control 15 Register */</span>00295 00296 <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 + -