📄 lpc22xx_8h-source.html
字号:
00232 <span class="preprocessor">#define IO3SET GPIO->set3 </span><span class="comment">/* P3 Pin Output Set Register */</span>00233 <span class="preprocessor">#define IO3DIR GPIO->dir3 </span><span class="comment">/* P3 Pin Direction Register */</span>00234 <span class="preprocessor">#define IO3CLR GPIO->clr3 </span><span class="comment">/* P3 Pin Output Clear Register */</span>00235 <span class="comment"></span>00236 <span class="comment">///////////////////////////////////////////////////////////////////////////////</span>00237 <span class="comment"></span><span class="comment">// Pin Connect Block</span>00238 <span class="preprocessor">#define PINSEL ((pinRegs_t *)0xE002C000)</span>00239 <span class="preprocessor"></span>00240 <span class="comment">// Pin Connect Block Registers</span>00241 <span class="preprocessor">#define PINSEL0 PINSEL->sel0 </span><span class="comment">/* Pin Function Select Register 0 */</span>00242 <span class="preprocessor">#define PINSEL1 PINSEL->sel1 </span><span class="comment">/* Pin Function Select Register 1 */</span>00243 <span class="preprocessor">#define PINSEL2 PINSEL->sel2 </span><span class="comment">/* Pin Function Select Register 2 */</span>00244 <span class="comment"></span>00245 <span class="comment">///////////////////////////////////////////////////////////////////////////////</span>00246 <span class="comment"></span><span class="comment">// A/D Converter</span>00247 <span class="preprocessor">#define ADC ((adcRegs_t *)0xE0034000)</span>00248 <span class="preprocessor"></span>00249 <span class="comment">// A/D Converter Registers</span>00250 <span class="preprocessor">#define ADCR ADC->cr </span><span class="comment">/* Control Register */</span>00251 <span class="preprocessor">#define ADDR ADC->dr </span><span class="comment">/* Data Register */</span>00252 <span class="comment"></span>00253 <span class="comment">///////////////////////////////////////////////////////////////////////////////</span>00254 <span class="comment"></span><span class="comment">// System Contol Block</span>00255 <span class="preprocessor">#define SCB ((scbRegs_t *)0xE01FC000)</span>00256 <span class="preprocessor"></span>00257 <span class="comment">// Memory Accelerator Module Registers (MAM)</span>00258 <span class="preprocessor">#define MAMCR SCB->mam.cr </span><span class="comment">/* Control Register */</span>00259 <span class="preprocessor">#define MAMTIM SCB->mam.tim </span><span class="comment">/* Timing Control Register */</span>00260 00261 <span class="comment">// Memory Mapping Control Register</span>00262 <span class="preprocessor">#define MEMMAP SCB->memmap</span>00263 <span class="preprocessor"></span>00264 <span class="comment">// Phase Locked Loop Registers (PLL)</span>00265 <span class="preprocessor">#define PLLCON SCB->pll.con </span><span class="comment">/* Control Register */</span>00266 <span class="preprocessor">#define PLLCFG SCB->pll.cfg </span><span class="comment">/* Configuration Register */</span>00267 <span class="preprocessor">#define PLLSTAT SCB->pll.stat </span><span class="comment">/* Status Register */</span>00268 <span class="preprocessor">#define PLLFEED SCB->pll.feed </span><span class="comment">/* Feed Register */</span>00269 00270 <span class="comment">// Power Control Registers</span>00271 <span class="preprocessor">#define PCON SCB->p.con </span><span class="comment">/* Control Register */</span>00272 <span class="preprocessor">#define PCONP SCB->p.conp </span><span class="comment">/* Peripherals Register */</span>00273 00274 <span class="comment">// VPB Divider Register</span>00275 <span class="preprocessor">#define VPBDIV SCB->vpbdiv</span>00276 <span class="preprocessor"></span>00277 <span class="comment">// External Interrupt Registers</span>00278 <span class="preprocessor">#define EXTINT SCB->ext.flag </span><span class="comment">/* Flag Register */</span>00279 <span class="preprocessor">#define EXTWAKE SCB->ext.wake </span><span class="comment">/* Wakeup Register */</span>00280 <span class="preprocessor">#define EXTMODE SCB->ext.mode </span><span class="comment">/* Mode Register */</span>00281 <span class="preprocessor">#define EXTPOLAR SCB->ext.polar </span><span class="comment">/* Polarity Register */</span>00282 <span class="comment"></span>00283 <span class="comment">///////////////////////////////////////////////////////////////////////////////</span>00284 <span class="comment"></span><span class="comment">// External Memory Controller (EMC)</span>00285 <span class="preprocessor">#define EMC ((volatile emcRegs_t *)0xFFE00000)</span>00286 <span class="preprocessor"></span>00287 <span class="comment">// External Memory Controller Registers</span>00288 <span class="preprocessor">#define BCFG0 EMC->bcfg0 </span><span class="comment">/* Bank 0 Configuration Register */</span>00289 <span class="preprocessor">#define BCFG1 EMC->bcfg1 </span><span class="comment">/* Bank 1 Configuration Register */</span>00290 <span class="preprocessor">#define BCFG2 EMC->bcfg2 </span><span class="comment">/* Bank 2 Configuration Register */</span>00291 <span class="preprocessor">#define BCFG3 EMC->bcfg3 </span><span class="comment">/* Bank 3 Configuration Register */</span>00292 <span class="comment"></span>00293 <span class="comment">///////////////////////////////////////////////////////////////////////////////</span>00294 <span class="comment"></span><span class="comment">// Vectored Interrupt Controller</span>00295 <span class="preprocessor">#define VIC ((vicRegs_t *)0xFFFFF000)</span>00296 <span class="preprocessor"></span>00297 <span class="comment">// Vectored Interrupt Controller Registers</span>00298 <span class="preprocessor">#define VICIRQStatus VIC->irqStatus </span><span class="comment">/* IRQ Status Register */</span>00299 <span class="preprocessor">#define VICFIQStatus VIC->fiqStatus </span><span class="comment">/* FIQ Status Register */</span>00300 <span class="preprocessor">#define VICRawIntr VIC->rawIntr </span><span class="comment">/* Raw Interrupt Status Register */</span>00301 <span class="preprocessor">#define VICIntSelect VIC->intSelect </span><span class="comment">/* Interrupt Select Register */</span>00302 <span class="preprocessor">#define VICIntEnable VIC->intEnable </span><span class="comment">/* Interrupt Enable Register */</span>00303 <span class="preprocessor">#define VICIntEnClear VIC->intEnClear </span><span class="comment">/* Interrupt Enable Clear Register */</span>00304 <span class="preprocessor">#define VICSoftInt VIC->softInt </span><span class="comment">/* Software Interrupt Register */</span>00305 <span class="preprocessor">#define VICSoftIntClear VIC->softIntClear </span><span class="comment">/* Software Interrupt Clear Register */</span>00306 <span class="preprocessor">#define VICProtection VIC->protection </span><span class="comment">/* Protection Enable Register */</span>00307 <span class="preprocessor">#define VICVectAddr VIC->vectAddr </span><span class="comment">/* Vector Address Register */</span>00308 <span class="preprocessor">#define VICDefVectAddr VIC->defVectAddr </span><span class="comment">/* Default Vector Address Register */</span>00309 <span class="preprocessor">#define VICVectAddr0 VIC->vectAddr0 </span><span class="comment">/* Vector Address 0 Register */</span>00310 <span class="preprocessor">#define VICVectAddr1 VIC->vectAddr1 </span><span class="comment">/* Vector Address 1 Register */</span>00311 <span class="preprocessor">#define VICVectAddr2 VIC->vectAddr2 </span><span class="comment">/* Vector Address 2 Register */</span>00312 <span class="preprocessor">#define VICVectAddr3 VIC->vectAddr3 </span><span class="comment">/* Vector Address 3 Register */</span>00313 <span class="preprocessor">#define VICVectAddr4 VIC->vectAddr4 </span><span class="comment">/* Vector Address 4 Register */</span>00314 <span class="preprocessor">#define VICVectAddr5 VIC->vectAddr5 </span><span class="comment">/* Vector Address 5 Register */</span>00315 <span class="preprocessor">#define VICVectAddr6 VIC->vectAddr6 </span><span class="comment">/* Vector Address 6 Register */</span>00316 <span class="preprocessor">#define VICVectAddr7 VIC->vectAddr7 </span><span class="comment">/* Vector Address 7 Register */</span>00317 <span class="preprocessor">#define VICVectAddr8 VIC->vectAddr8 </span><span class="comment">/* Vector Address 8 Register */</span>00318 <span class="preprocessor">#define VICVectAddr9 VIC->vectAddr9 </span><span class="comment">/* Vector Address 9 Register */</span>00319 <span class="preprocessor">#define VICVectAddr10 VIC->vectAddr10 </span><span class="comment">/* Vector Address 10 Register */</span>00320 <span class="preprocessor">#define VICVectAddr11 VIC->vectAddr11 </span><span class="comment">/* Vector Address 11 Register */</span>00321 <span class="preprocessor">#define VICVectAddr12 VIC->vectAddr12 </span><span class="comment">/* Vector Address 12 Register */</span>00322 <span class="preprocessor">#define VICVectAddr13 VIC->vectAddr13 </span><span class="comment">/* Vector Address 13 Register */</span>00323 <span class="preprocessor">#define VICVectAddr14 VIC->vectAddr14 </span><span class="comment">/* Vector Address 14 Register */</span>00324 <span class="preprocessor">#define VICVectAddr15 VIC->vectAddr15 </span><span class="comment">/* Vector Address 15 Register */</span>00325 <span class="preprocessor">#define VICVectCntl0 VIC->vectCntl0 </span><span class="comment">/* Vector Control 0 Register */</span>00326 <span class="preprocessor">#define VICVectCntl1 VIC->vectCntl1 </span><span class="comment">/* Vector Control 1 Register */</span>00327 <span class="preprocessor">#define VICVectCntl2 VIC->vectCntl2 </span><span class="comment">/* Vector Control 2 Register */</span>00328 <span class="preprocessor">#define VICVectCntl3 VIC->vectCntl3 </span><span class="comment">/* Vector Control 3 Register */</span>00329 <span class="preprocessor">#define VICVectCntl4 VIC->vectCntl4 </span><span class="comment">/* Vector Control 4 Register */</span>00330 <span class="preprocessor">#define VICVectCntl5 VIC->vectCntl5 </span><span class="comment">/* Vector Control 5 Register */</span>00331 <span class="preprocessor">#define VICVectCntl6 VIC->vectCntl6 </span><span class="comment">/* Vector Control 6 Register */</span>00332 <span class="preprocessor">#define VICVectCntl7 VIC->vectCntl7 </span><span class="comment">/* Vector Control 7 Register */</span>00333 <span class="preprocessor">#define VICVectCntl8 VIC->vectCntl8 </span><span class="comment">/* Vector Control 8 Register */</span>00334 <span class="preprocessor">#define VICVectCntl9 VIC->vectCntl9 </span><span class="comment">/* Vector Control 9 Register */</span>00335 <span class="preprocessor">#define VICVectCntl10 VIC->vectCntl10 </span><span class="comment">/* Vector Control 10 Register */</span>00336 <span class="preprocessor">#define VICVectCntl11 VIC->vectCntl11 </span><span class="comment">/* Vector Control 11 Register */</span>00337 <span class="preprocessor">#define VICVectCntl12 VIC->vectCntl12 </span><span class="comment">/* Vector Control 12 Register */</span>00338 <span class="preprocessor">#define VICVectCntl13 VIC->vectCntl13 </span><span class="comment">/* Vector Control 13 Register */</span>00339 <span class="preprocessor">#define VICVectCntl14 VIC->vectCntl14 </span><span class="comment">/* Vector Control 14 Register */</span>00340 <span class="preprocessor">#define VICVectCntl15 VIC->vectCntl15 </span><span class="comment">/* Vector Control 15 Register */</span>00341 00342 <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 + -