30 #ifndef __LPC11UXX_H__
31 #define __LPC11UXX_H__
38 #if defined ( __CC_ARM )
95 #define __MPU_PRESENT 0
96 #define __NVIC_PRIO_BITS 2
97 #define __Vendor_SysTickConfig 0
100 #include "core_cm0.h"
131 __IO uint32_t MASK[4];
198 __I uint32_t RESERVED0[3];
200 __I uint32_t RESERVED1;
205 __IO uint32_t SYNCCTRL;
246 __I uint32_t RESERVED0[12];
280 __I uint32_t RESERVED0[12];
298 __I uint32_t RESERVED0[1];
329 __IO uint32_t GPREG[4];
350 __I uint32_t RESERVED0[4];
352 __I uint32_t RESERVED1[3];
355 __I uint32_t RESERVED2[1];
360 __I uint32_t RESERVED3[1001];
362 __I uint32_t RESERVED4[1];
425 __IO uint32_t PIO1_1;
426 __IO uint32_t PIO1_2;
427 __IO uint32_t PIO1_3;
430 __IO uint32_t PIO1_6;
431 __IO uint32_t PIO1_7;
433 __IO uint32_t PIO1_9;
434 __IO uint32_t PIO1_10;
435 __IO uint32_t PIO1_11;
441 __IO uint32_t PIO1_17;
442 __IO uint32_t PIO1_18;
454 __IO uint32_t PIO1_30;
475 __I uint32_t RESERVED0[2];
478 __I uint32_t RESERVED1[2];
480 __I uint32_t RESERVED2[3];
485 __I uint32_t RESERVED3[8];
489 __I uint32_t RESERVED4[1];
491 __I uint32_t RESERVED5[4];
495 __I uint32_t RESERVED6[8];
499 __I uint32_t RESERVED7[5];
503 __I uint32_t RESERVED8[5];
506 __I uint32_t RESERVED9[18];
509 __I uint32_t RESERVED10[6];
512 __IO uint32_t PINTSEL[8];
515 __I uint32_t RESERVED11[25];
517 __I uint32_t RESERVED12[3];
519 __I uint32_t RESERVED13[6];
523 __I uint32_t RESERVED14[110];
562 __I uint32_t RESERVED0[7];
563 __IO uint32_t PORT_POL[2];
564 __I uint32_t RESERVED1[6];
565 __IO uint32_t PORT_ENA[2];
592 __I uint32_t RESERVED0[1];
614 __I uint32_t RESERVED0[1008];
617 __IO uint32_t W0[32];
618 __IO uint32_t W1[32];
622 uint32_t RESERVED1[960];
623 __IO uint32_t DIR[2];
624 uint32_t RESERVED2[30];
625 __IO uint32_t MASK[2];
626 uint32_t RESERVED3[30];
627 __IO uint32_t PIN[2];
628 uint32_t RESERVED4[30];
629 __IO uint32_t MPIN[2];
630 uint32_t RESERVED5[30];
631 __IO uint32_t SET[2];
632 uint32_t RESERVED6[30];
634 uint32_t RESERVED7[30];
639 #if defined ( __CC_ARM )
640 #pragma no_anon_unions
645 #define LPC_1XXX_ROM_LOC (0x1FFF1FF8)
650 #define LPC_I2C_BASE (0x40000000)
651 #define LPC_WWDT_BASE (0x40004000)
652 #define LPC_USART_BASE (0x40008000)
653 #define LPC_CT16B0_BASE (0x4000C000)
654 #define LPC_CT16B1_BASE (0x40010000)
655 #define LPC_CT32B0_BASE (0x40014000)
656 #define LPC_CT32B1_BASE (0x40018000)
657 #define LPC_ADC_BASE (0x4001C000)
658 #define LPC_PMU_BASE (0x40038000)
659 #define LPC_FLASHCTRL_BASE (0x4003C000)
660 #define LPC_SSP0_BASE (0x40040000)
661 #define LPC_SSP1_BASE (0x40058000)
662 #define LPC_IOCON_BASE (0x40044000)
663 #define LPC_SYSCON_BASE (0x40048000)
664 #define LPC_GPIO_PIN_INT_BASE (0x4004C000)
665 #define LPC_GPIO_GROUP_INT0_BASE (0x4005C000)
666 #define LPC_GPIO_GROUP_INT1_BASE (0x40060000)
667 #define LPC_USB_BASE (0x40080000)
668 #define LPC_GPIO_BASE (0x50000000)
749 #endif // __LPC11UXX_H__
Definition: LPC11Uxx.h:79
__IO uint32_t PWMC
Definition: LPC11Uxx.h:248
__I uint32_t USBCLKST
Definition: LPC11Uxx.h:514
__IO uint32_t MR1
Definition: LPC11Uxx.h:230
__IO uint32_t IR
Definition: LPC11Uxx.h:254
__IO uint32_t PIO0_8
Definition: LPC11Uxx.h:408
__IO uint32_t MAINCLKSEL
Definition: LPC11Uxx.h:486
__IO uint32_t TRST_PIO0_14
Definition: LPC11Uxx.h:414
__IO uint32_t RS485CTRL
Definition: LPC11Uxx.h:202
__I uint32_t STAT
Definition: LPC11Uxx.h:119
__IO uint32_t PIO0_9
Definition: LPC11Uxx.h:409
__IO uint32_t DLL
Definition: LPC11Uxx.h:174
Definition: LPC11Uxx.h:54
__I uint32_t MIS
Definition: LPC11Uxx.h:384
__IO uint32_t SWDIO_PIO0_15
Definition: LPC11Uxx.h:415
__I uint32_t RESERVED2
Definition: LPC11Uxx.h:276
__IO uint32_t SYSPLLCLKSEL
Definition: LPC11Uxx.h:481
Definition: LPC11Uxx.h:68
__IO uint32_t MR0
Definition: LPC11Uxx.h:263
__IO uint32_t MCR
Definition: LPC11Uxx.h:259
__IO uint32_t CR
Definition: LPC11Uxx.h:296
__IO uint32_t CPSR
Definition: LPC11Uxx.h:381
__IO uint32_t SYSAHBCLKDIV
Definition: LPC11Uxx.h:488
__IO uint32_t INTROUTING
Definition: LPC11Uxx.h:591
__IO uint32_t WDTOSCCTRL
Definition: LPC11Uxx.h:477
__IO uint32_t PIO0_17
Definition: LPC11Uxx.h:417
__IO uint32_t PIO0_21
Definition: LPC11Uxx.h:421
__IO uint32_t EPINUSE
Definition: LPC11Uxx.h:586
__IO uint32_t PIO0_6
Definition: LPC11Uxx.h:406
__I uint32_t FMSW0
Definition: LPC11Uxx.h:356
__IO uint32_t DR6
Definition: LPC11Uxx.h:309
__IO uint32_t PIO0_23
Definition: LPC11Uxx.h:423
__IO uint32_t IMSC
Definition: LPC11Uxx.h:382
__IO uint32_t FALL
Definition: LPC11Uxx.h:546
__IO uint32_t LPM
Definition: LPC11Uxx.h:584
__I uint32_t RESERVED1
Definition: LPC11Uxx.h:275
__IO uint32_t SYSAHBCLKCTRL
Definition: LPC11Uxx.h:490
Product name title=UM10462 Chapter title=LPC11U1x ADC Modification date=3/16/2011 Major revision=0 Mi...
Definition: LPC11Uxx.h:295
__IO uint32_t GPREG0
Definition: LPC11Uxx.h:331
__IO uint32_t CLKOUTUEN
Definition: LPC11Uxx.h:501
__IO uint32_t PIO0_16
Definition: LPC11Uxx.h:416
__IO uint32_t CTRL
Definition: LPC11Uxx.h:561
Definition: LPC11Uxx.h:72
__I uint32_t IIR
Definition: LPC11Uxx.h:186
__IO uint32_t SCLL
Definition: LPC11Uxx.h:123
__IO uint32_t CIENF
Definition: LPC11Uxx.h:544
__IO uint32_t PIO1_20
Definition: LPC11Uxx.h:444
__IO uint32_t CLKOUTSEL
Definition: LPC11Uxx.h:500
__IO uint32_t PIO1_12
Definition: LPC11Uxx.h:436
__IO uint32_t SSP1CLKDIV
Definition: LPC11Uxx.h:494
Definition: LPC11Uxx.h:75
__IO uint32_t RISE
Definition: LPC11Uxx.h:545
__IO uint32_t PIO0_19
Definition: LPC11Uxx.h:419
__I uint32_t LSR
Definition: LPC11Uxx.h:190
__IO uint32_t ADR2
Definition: LPC11Uxx.h:127
Definition: LPC11Uxx.h:52
__I uint32_t RESERVED2
Definition: LPC11Uxx.h:242
__IO uint32_t INTSTAT
Definition: LPC11Uxx.h:588
Definition: LPC11Uxx.h:74
__IO uint32_t USBCLKUEN
Definition: LPC11Uxx.h:497
__IO uint32_t PIO0_5
Definition: LPC11Uxx.h:405
__IO uint32_t FMSSTOP
Definition: LPC11Uxx.h:354
__IO uint32_t EPSKIP
Definition: LPC11Uxx.h:585
__IO uint32_t PC
Definition: LPC11Uxx.h:224
__IO uint32_t SCLH
Definition: LPC11Uxx.h:122
__I uint32_t RBR
Definition: LPC11Uxx.h:176
__I uint32_t EPTOGGLE
Definition: LPC11Uxx.h:593
__I uint32_t CR1
Definition: LPC11Uxx.h:241
__IO uint32_t PR
Definition: LPC11Uxx.h:223
__IO uint32_t ICR
Definition: LPC11Uxx.h:194
__IO uint32_t ADR3
Definition: LPC11Uxx.h:128
Product name title=UM10462 Chapter title=LPC11U1x Windowed Watchdog Timer (WWDT) Modification date=3/...
Definition: LPC11Uxx.h:151
__IO uint32_t GPREG3
Definition: LPC11Uxx.h:334
__IO uint32_t PIO1_22
Definition: LPC11Uxx.h:446
__IO uint32_t PIO0_22
Definition: LPC11Uxx.h:422
__IO uint32_t PIO0_4
Definition: LPC11Uxx.h:404
__IO uint32_t PIO1_5
Definition: LPC11Uxx.h:429
__IO uint32_t INTSETSTAT
Definition: LPC11Uxx.h:590
Definition: LPC11Uxx.h:78
Definition: LPC11Uxx.h:73
__I uint32_t PIOPORCAP0
Definition: LPC11Uxx.h:504
Product name title=UM10462 Chapter title=LPC11U1x USART Modification date=3/16/2011 Major revision=0 ...
Definition: LPC11Uxx.h:171
__IO uint32_t MR3
Definition: LPC11Uxx.h:266
__IO uint32_t PIO0_2
Definition: LPC11Uxx.h:402
__IO uint32_t EMR
Definition: LPC11Uxx.h:279
__IO uint32_t CTCR
Definition: LPC11Uxx.h:247
__IO uint32_t TCR
Definition: LPC11Uxx.h:221
__IO uint32_t DR5
Definition: LPC11Uxx.h:308
__I uint32_t STAT
Definition: LPC11Uxx.h:313
__IO uint32_t SYSPLLCLKUEN
Definition: LPC11Uxx.h:482
__IO uint32_t MAINCLKUEN
Definition: LPC11Uxx.h:487
__IO uint32_t CLKOUTDIV
Definition: LPC11Uxx.h:502
__IO uint32_t CIENR
Definition: LPC11Uxx.h:541
__IO uint32_t IER
Definition: LPC11Uxx.h:180
__IO uint32_t BODCTRL
Definition: LPC11Uxx.h:507
__IO uint32_t DR1
Definition: LPC11Uxx.h:304
Definition: LPC11Uxx.h:84
__IO uint32_t ISEL
Definition: LPC11Uxx.h:538
__IO uint32_t EPLISTSTART
Definition: LPC11Uxx.h:582
Definition: LPC11Uxx.h:48
__IO uint32_t TC
Definition: LPC11Uxx.h:222
__I uint32_t FMSTAT
Definition: LPC11Uxx.h:361
Product name title=UM10462 Chapter title=LPC11U1x SSP/SPI Modification date=3/16/2011 Major revision=...
Definition: LPC11Uxx.h:376
Definition: LPC11Uxx.h:71
__IO uint32_t USBPLLCLKUEN
Definition: LPC11Uxx.h:484
__IO uint32_t CONCLR
Definition: LPC11Uxx.h:124
Product name title=UM10462 Chapter title=LPC11U1x GPIO Modification date=3/17/2011 Major revision=0 M...
Definition: LPC11Uxx.h:606
__I uint32_t FMSW2
Definition: LPC11Uxx.h:358
__IO uint32_t STARTERP1
Definition: LPC11Uxx.h:518
__IO uint32_t SWCLK_PIO0_10
Definition: LPC11Uxx.h:410
Product name title=UM10462 Chapter title=LPC11U1x I2C-bus controller Modification date=3/16/2011 Majo...
Definition: LPC11Uxx.h:117
Product name title=UM10462 Chapter title=LPC11U1x I/O configuration Modification date=3/16/2011 Major...
Definition: LPC11Uxx.h:399
__IO uint32_t PIO1_23
Definition: LPC11Uxx.h:447
Definition: LPC11Uxx.h:253
__IO uint32_t INTEN
Definition: LPC11Uxx.h:299
__IO uint32_t MMCTRL
Definition: LPC11Uxx.h:125
__IO uint32_t PWMC
Definition: LPC11Uxx.h:282
__IO uint32_t PIO0_3
Definition: LPC11Uxx.h:403
__IO uint32_t FLASHCFG
Definition: LPC11Uxx.h:351
__IO uint32_t SIENR
Definition: LPC11Uxx.h:540
__IO uint32_t PIO1_28
Definition: LPC11Uxx.h:452
__IO uint32_t INFO
Definition: LPC11Uxx.h:581
__IO uint32_t PCON
Definition: LPC11Uxx.h:327
__IO uint32_t FEED
Definition: LPC11Uxx.h:154
__I uint32_t CR1
Definition: LPC11Uxx.h:274
Product name title=UM10462 Chapter title=LPC11U1x Power Management Unit (PMU) Modification date=3/16/...
Definition: LPC11Uxx.h:326
__IO uint32_t PR
Definition: LPC11Uxx.h:257
__IO uint32_t PIO1_29
Definition: LPC11Uxx.h:453
__IO uint32_t IRQLATENCY
Definition: LPC11Uxx.h:510
Definition: LPC11Uxx.h:76
__IO uint32_t PDAWAKECFG
Definition: LPC11Uxx.h:521
__IO uint32_t CTCR
Definition: LPC11Uxx.h:281
__IO uint32_t EPBUFCFG
Definition: LPC11Uxx.h:587
__IO uint32_t PIO1_27
Definition: LPC11Uxx.h:451
__IO uint32_t FDR
Definition: LPC11Uxx.h:195
__IO uint32_t PIO1_0
Definition: LPC11Uxx.h:424
__IO uint32_t TER
Definition: LPC11Uxx.h:197
__I uint32_t TV
Definition: LPC11Uxx.h:155
__IO uint32_t UARTCLKDIV
Definition: LPC11Uxx.h:493
__IO uint32_t PIO1_19
Definition: LPC11Uxx.h:443
__IO uint32_t NMISRC
Definition: LPC11Uxx.h:511
__I uint32_t FMSW3
Definition: LPC11Uxx.h:359
Definition: LPC11Uxx.h:51
__IO uint32_t TCR
Definition: LPC11Uxx.h:255
__IO uint32_t TC
Definition: LPC11Uxx.h:256
__IO uint32_t STARTERP0
Definition: LPC11Uxx.h:516
Definition: LPC11Uxx.h:64
Definition: LPC11Uxx.h:80
CMSIS Cortex-M0 Device Peripheral Access Layer Header File for the NXP LPC11Uxx Device Series...
__IO uint32_t IENR
Definition: LPC11Uxx.h:539
__IO uint32_t WARNINT
Definition: LPC11Uxx.h:157
__IO uint32_t PIO1_24
Definition: LPC11Uxx.h:448
__IO uint32_t PIO1_4
Definition: LPC11Uxx.h:428
__IO uint32_t DATABUFSTART
Definition: LPC11Uxx.h:583
__I uint32_t DATA_BUFFER
Definition: LPC11Uxx.h:129
__IO uint32_t MCR
Definition: LPC11Uxx.h:189
__IO uint32_t SCR
Definition: LPC11Uxx.h:192
__IO uint32_t ACR
Definition: LPC11Uxx.h:193
Definition: LPC11Uxx.h:69
Definition: LPC11Uxx.h:50
__IO uint32_t TDI_PIO0_11
Definition: LPC11Uxx.h:411
__IO uint32_t TDO_PIO0_13
Definition: LPC11Uxx.h:413
__IO uint32_t PIO0_20
Definition: LPC11Uxx.h:420
__IO uint32_t TC
Definition: LPC11Uxx.h:153
Product name title=UM10462 Chapter title=LPC11U1x 32-bitcounter/timers CT32B0/1 Modification date=3/1...
Definition: LPC11Uxx.h:219
__IO uint32_t PIO0_1
Definition: LPC11Uxx.h:401
Definition: LPC11Uxx.h:77
__IO uint32_t PIO1_25
Definition: LPC11Uxx.h:449
Product name title=UM10462 Chapter title=LPC11U1x USB2.0device controller Modification date=3/16/2011...
Definition: LPC11Uxx.h:579
__IO uint32_t DR4
Definition: LPC11Uxx.h:307
__IO uint32_t IENF
Definition: LPC11Uxx.h:542
__IO uint32_t DR0
Definition: LPC11Uxx.h:303
__IO uint32_t PIO0_18
Definition: LPC11Uxx.h:418
__IO uint32_t ADR0
Definition: LPC11Uxx.h:121
__IO uint32_t SYSOSCCTRL
Definition: LPC11Uxx.h:476
__IO uint32_t CONSET
Definition: LPC11Uxx.h:118
__IO uint32_t EMR
Definition: LPC11Uxx.h:245
__IO uint32_t USBCLKCTRL
Definition: LPC11Uxx.h:513
__IO uint32_t USBPLLCTRL
Definition: LPC11Uxx.h:473
__IO uint32_t PDRUNCFG
Definition: LPC11Uxx.h:522
__IO uint32_t CLKSEL
Definition: LPC11Uxx.h:156
__IO uint32_t RESET_PIO0_0
Definition: LPC11Uxx.h:400
__IO uint32_t SYSPLLCTRL
Definition: LPC11Uxx.h:471
Definition: LPC11Uxx.h:81
__I uint32_t SR
Definition: LPC11Uxx.h:380
Definition: LPC11Uxx.h:83
__IO uint32_t PIO1_16
Definition: LPC11Uxx.h:440
__IO uint32_t MR0
Definition: LPC11Uxx.h:229
__I uint32_t RESERVED1
Definition: LPC11Uxx.h:240
__IO uint32_t MCR
Definition: LPC11Uxx.h:225
Definition: LPC11Uxx.h:46
__IO uint32_t PIO0_7
Definition: LPC11Uxx.h:407
__IO uint32_t CCR
Definition: LPC11Uxx.h:269
__I uint32_t USBPLLSTAT
Definition: LPC11Uxx.h:474
Product name title=UM10462 Chapter title=LPC11U1x Flash programming firmware Modification date=3/17/2...
Definition: LPC11Uxx.h:349
__IO uint32_t DAT
Definition: LPC11Uxx.h:120
Definition: LPC11Uxx.h:62
__IO uint32_t SYSRSTSTAT
Definition: LPC11Uxx.h:479
__IO uint32_t HDEN
Definition: LPC11Uxx.h:199
__IO uint32_t SYSTCKCAL
Definition: LPC11Uxx.h:508
__I uint32_t CR0
Definition: LPC11Uxx.h:239
__I uint32_t SYSPLLSTAT
Definition: LPC11Uxx.h:472
__IO uint32_t PIO1_8
Definition: LPC11Uxx.h:432
__IO uint32_t MR3
Definition: LPC11Uxx.h:232
__IO uint32_t DLM
Definition: LPC11Uxx.h:181
__IO uint32_t PIO1_21
Definition: LPC11Uxx.h:445
Definition: LPC11Uxx.h:47
__IO uint32_t DEVCMDSTAT
Definition: LPC11Uxx.h:580
__IO uint32_t WINDOW
Definition: LPC11Uxx.h:158
__IO uint32_t RS485DLY
Definition: LPC11Uxx.h:204
__IO uint32_t PRESETCTRL
Definition: LPC11Uxx.h:470
Definition: LPC11Uxx.h:85
Definition: LPC11Uxx.h:63
__IO uint32_t USBCLKDIV
Definition: LPC11Uxx.h:498
__IO uint32_t CR1
Definition: LPC11Uxx.h:378
__IO uint32_t ADR1
Definition: LPC11Uxx.h:126
__I uint32_t FMSW1
Definition: LPC11Uxx.h:357
__IO uint32_t PIO1_31
Definition: LPC11Uxx.h:455
__IO uint32_t SSP0CLKDIV
Definition: LPC11Uxx.h:492
__IO uint32_t IST
Definition: LPC11Uxx.h:547
__IO uint32_t INTEN
Definition: LPC11Uxx.h:589
__IO uint32_t MR2
Definition: LPC11Uxx.h:231
__IO uint32_t FMSTATCLR
Definition: LPC11Uxx.h:363
__IO uint32_t MR1
Definition: LPC11Uxx.h:264
__IO uint32_t GPREG1
Definition: LPC11Uxx.h:332
__IO uint32_t PDSLEEPCFG
Definition: LPC11Uxx.h:520
__IO uint32_t USBCLKSEL
Definition: LPC11Uxx.h:496
__IO uint32_t FMSSTART
Definition: LPC11Uxx.h:353
Product name title=UM10462 Chapter title=LPC11U1x GPIO Modification date=3/17/2011 Major revision=0 M...
Definition: LPC11Uxx.h:560
__IO uint32_t SCICTRL
Definition: LPC11Uxx.h:201
__IO uint32_t DR
Definition: LPC11Uxx.h:379
__IO uint32_t PIO1_26
Definition: LPC11Uxx.h:450
__IO uint32_t PIO1_13
Definition: LPC11Uxx.h:437
Product name title=UM10462 Chapter title=LPC11U1x System control block Modification date=3/16/2011 Ma...
Definition: LPC11Uxx.h:468
__IO uint32_t PIO1_14
Definition: LPC11Uxx.h:438
__IO uint32_t MR2
Definition: LPC11Uxx.h:265
__IO uint32_t PIO1_15
Definition: LPC11Uxx.h:439
__O uint32_t THR
Definition: LPC11Uxx.h:175
__I uint32_t CR0
Definition: LPC11Uxx.h:273
IRQn_Type
Definition: LPC11Uxx.h:44
__IO uint32_t OSR
Definition: LPC11Uxx.h:196
__IO uint32_t DR2
Definition: LPC11Uxx.h:305
__IO uint32_t DR7
Definition: LPC11Uxx.h:310
Product name title=UM10462 Chapter title=LPC11U1x GPIO Modification date=3/17/2011 Major revision=0 M...
Definition: LPC11Uxx.h:537
__IO uint32_t MOD
Definition: LPC11Uxx.h:152
__I uint32_t PIOPORCAP1
Definition: LPC11Uxx.h:505
Definition: LPC11Uxx.h:49
__IO uint32_t CCR
Definition: LPC11Uxx.h:235
__IO uint32_t RS485ADRMATCH
Definition: LPC11Uxx.h:203
__IO uint32_t TMS_PIO0_12
Definition: LPC11Uxx.h:412
__IO uint32_t SYSMEMREMAP
Definition: LPC11Uxx.h:469
__IO uint32_t USBPLLCLKSEL
Definition: LPC11Uxx.h:483
__I uint32_t DEVICE_ID
Definition: LPC11Uxx.h:524
__O uint32_t FCR
Definition: LPC11Uxx.h:185
__IO uint32_t GPREG2
Definition: LPC11Uxx.h:333
__IO uint32_t LCR
Definition: LPC11Uxx.h:188
__IO uint32_t ICR
Definition: LPC11Uxx.h:385
__IO uint32_t CR0
Definition: LPC11Uxx.h:377
__IO uint32_t PC
Definition: LPC11Uxx.h:258
Definition: LPC11Uxx.h:82
__I uint32_t MSR
Definition: LPC11Uxx.h:191
__IO uint32_t IR
Definition: LPC11Uxx.h:220
__IO uint32_t SIENF
Definition: LPC11Uxx.h:543
__IO uint32_t GDR
Definition: LPC11Uxx.h:297
__I uint32_t RIS
Definition: LPC11Uxx.h:383
__IO uint32_t DR3
Definition: LPC11Uxx.h:306
Definition: LPC11Uxx.h:70