?? lpc2294.h
字號:
#define U1MSR (*((volatile unsigned char *) 0xE0010018))
#define U1SCR (*((volatile unsigned char *) 0xE001001C))
#define U1DLL (*((volatile unsigned char *) 0xE0010000))
#define U1DLM (*((volatile unsigned char *) 0xE0010004))
/* I2C (8/16 bit data bus) */
/* 芯片間總線(I2C)的特殊寄存器 */
#define I2CONSET (*((volatile unsigned long *) 0xE001C000))
#define I2STAT (*((volatile unsigned long *) 0xE001C004))
#define I2DAT (*((volatile unsigned long *) 0xE001C008))
#define I2ADR (*((volatile unsigned long *) 0xE001C00C))
#define I2SCLH (*((volatile unsigned long *) 0xE001C010))
#define I2SCLL (*((volatile unsigned long *) 0xE001C014))
#define I2CONCLR (*((volatile unsigned long *) 0xE001C018))
/* I2C0 (8/16 bit data bus) */
/* 芯片間總線(I2C0)的特殊寄存器 */
#define I2C0CONSET (*((volatile unsigned long *) 0xE001C000))
#define I2C0STAT (*((volatile unsigned long *) 0xE001C004))
#define I2C0DAT (*((volatile unsigned long *) 0xE001C008))
#define I2C0ADR (*((volatile unsigned long *) 0xE001C00C))
#define I2C0SCLH (*((volatile unsigned long *) 0xE001C010))
#define I2C0SCLL (*((volatile unsigned long *) 0xE001C014))
#define I2C0CONCLR (*((volatile unsigned long *) 0xE001C018))
/* I2C1 (8/16 bit data bus) */
/* 芯片間總線(I2C1)的特殊寄存器 */
#define I2C1CONSET (*((volatile unsigned long *) 0xE005C000)) /* lpc213x only */
#define I2C1STAT (*((volatile unsigned long *) 0xE005C004)) /* lpc213x only */
#define I2C1DAT (*((volatile unsigned long *) 0xE005C008)) /* lpc213x only */
#define I2C1ADR (*((volatile unsigned long *) 0xE005C00C)) /* lpc213x only */
#define I2C1SCLH (*((volatile unsigned long *) 0xE005C010)) /* lpc213x only */
#define I2C1SCLL (*((volatile unsigned long *) 0xE005C014)) /* lpc213x only */
#define I2C1CONCLR (*((volatile unsigned long *) 0xE005C018)) /* lpc213x only */
/* SPI (Serial Peripheral Interface) */
/* SPI總線接口的特殊寄存器 */
/* only for lpc210x*/
#define SPI_SPCR (*((volatile unsigned char *) 0xE0020000))
#define SPI_SPSR (*((volatile unsigned char *) 0xE0020004))
#define SPI_SPDR (*((volatile unsigned char *) 0xE0020008))
#define SPI_SPCCR (*((volatile unsigned char *) 0xE002000C))
#define SPI_SPINT (*((volatile unsigned char *) 0xE002001C))
/* for lpc211x/212x/22xx */
#define S0PCR (*((volatile unsigned char *) 0xE0020000)) /* no in lpc210x*/
#define S0PSR (*((volatile unsigned char *) 0xE0020004)) /* no in lpc210x*/
#define S0PDR (*((volatile unsigned char *) 0xE0020008)) /* no in lpc210x*/
#define S0PCCR (*((volatile unsigned char *) 0xE002000C)) /* no in lpc210x*/
#define S0PINT (*((volatile unsigned char *) 0xE002001C)) /* no in lpc210x*/
#define S1PCR (*((volatile unsigned char *) 0xE0030000)) /* no in lpc210x*/
#define S1PSR (*((volatile unsigned char *) 0xE0030004)) /* no in lpc210x*/
#define S1PDR (*((volatile unsigned char *) 0xE0030008)) /* no in lpc210x*/
#define S1PCCR (*((volatile unsigned char *) 0xE003000C)) /* no in lpc210x*/
#define S1PINT (*((volatile unsigned char *) 0xE003001C)) /* no in lpc210x*/
/* for lpc213x */
#define SPCR (*((volatile unsigned char *) 0xE0020000))
#define SPSR (*((volatile unsigned char *) 0xE0020004))
#define SPDR (*((volatile unsigned char *) 0xE0020008))
#define SPCCR (*((volatile unsigned char *) 0xE002000C))
#define SPINT (*((volatile unsigned char *) 0xE002001C))
#define SSPCR0 (*((volatile unsigned long *) 0xE0068000)) /* lpc2132\2138 only */
#define SSPCR1 (*((volatile unsigned long *) 0xE0068004)) /* lpc2132\2138 only */
#define SSPDR (*((volatile unsigned long *) 0xE0068008)) /* lpc2132\2138 only */
#define SSPSR (*((volatile unsigned long *) 0xE006800C)) /* lpc2132\2138 only */
#define SSPCPSR (*((volatile unsigned long *) 0xE0068010)) /* lpc2132\2138 only */
#define SSPIMSC (*((volatile unsigned long *) 0xE0068014)) /* lpc2132\2138 only */
#define SSPRIS (*((volatile unsigned long *) 0xE0068018)) /* lpc2132\2138 only */
#define SSPMIS (*((volatile unsigned long *) 0xE006801C)) /* lpc2132\2138 only */
#define SSPICR (*((volatile unsigned long *) 0xE0068020)) /* lpc2132\2138 only */
/* CAN CONTROLLERS AND ACCEPTANCE FILTER */
/* CAN控制器和接收路波器 */
#define CAN1MOD (*((volatile unsigned char *) 0xE0044000)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1CMR (*((volatile unsigned char *) 0xE0044004)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1GSR (*((volatile unsigned char *) 0xE0044008)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1ICR (*((volatile unsigned char *) 0xE004400C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1IER (*((volatile unsigned char *) 0xE0044010)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1BTR (*((volatile unsigned char *) 0xE0044014)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1EWL (*((volatile unsigned char *) 0xE004401C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1SR (*((volatile unsigned char *) 0xE0044020)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1RFS (*((volatile unsigned char *) 0xE0044024)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1RDA (*((volatile unsigned char *) 0xE0044028)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1RDB (*((volatile unsigned char *) 0xE004402C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TFI1 (*((volatile unsigned char *) 0xE0044030)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TID1 (*((volatile unsigned char *) 0xE0044034)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TDA1 (*((volatile unsigned char *) 0xE0044038)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TDB1 (*((volatile unsigned char *) 0xE004403C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TFI2 (*((volatile unsigned char *) 0xE0044040)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TID2 (*((volatile unsigned char *) 0xE0044044)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TDA2 (*((volatile unsigned char *) 0xE0044048)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TDB2 (*((volatile unsigned char *) 0xE004404C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TFI3 (*((volatile unsigned char *) 0xE0044050)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TID3 (*((volatile unsigned char *) 0xE0044054)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TDA3 (*((volatile unsigned char *) 0xE0044058)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN1TDB3 (*((volatile unsigned char *) 0xE004405C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2MOD (*((volatile unsigned char *) 0xE0048000)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2CMR (*((volatile unsigned char *) 0xE0048004)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2GSR (*((volatile unsigned char *) 0xE0048008)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2ICR (*((volatile unsigned char *) 0xE004800C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2IER (*((volatile unsigned char *) 0xE0048010)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2BTR (*((volatile unsigned char *) 0xE0048014)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2EWL (*((volatile unsigned char *) 0xE004801C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2SR (*((volatile unsigned char *) 0xE0048020)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2RFS (*((volatile unsigned char *) 0xE0048024)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2RDA (*((volatile unsigned char *) 0xE0048028)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2RDB (*((volatile unsigned char *) 0xE004802C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TFI1 (*((volatile unsigned char *) 0xE0048030)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TID1 (*((volatile unsigned char *) 0xE0048034)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TDA1 (*((volatile unsigned char *) 0xE0048038)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TDB1 (*((volatile unsigned char *) 0xE004803C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TFI2 (*((volatile unsigned char *) 0xE0048040)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TID2 (*((volatile unsigned char *) 0xE0048044)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TDA2 (*((volatile unsigned char *) 0xE0048048)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TDB2 (*((volatile unsigned char *) 0xE004804C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TFI3 (*((volatile unsigned char *) 0xE0048050)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TID3 (*((volatile unsigned char *) 0xE0048054)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TDA3 (*((volatile unsigned char *) 0xE0048058)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN2TDB3 (*((volatile unsigned char *) 0xE004805C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3MOD (*((volatile unsigned char *) 0xE004C000)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3CMR (*((volatile unsigned char *) 0xE004C004)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3GSR (*((volatile unsigned char *) 0xE004C008)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3ICR (*((volatile unsigned char *) 0xE004C00C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3IER (*((volatile unsigned char *) 0xE004C010)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3BTR (*((volatile unsigned char *) 0xE004C014)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3EWL (*((volatile unsigned char *) 0xE004C01C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3SR (*((volatile unsigned char *) 0xE004C020)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3RFS (*((volatile unsigned char *) 0xE004C024)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3RDA (*((volatile unsigned char *) 0xE004C028)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3RDB (*((volatile unsigned char *) 0xE004C02C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TFI1 (*((volatile unsigned char *) 0xE004C030)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TID1 (*((volatile unsigned char *) 0xE004C034)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TDA1 (*((volatile unsigned char *) 0xE004C038)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TDB1 (*((volatile unsigned char *) 0xE004C03C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TFI2 (*((volatile unsigned char *) 0xE004C040)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TID2 (*((volatile unsigned char *) 0xE004C044)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TDA2 (*((volatile unsigned char *) 0xE004C048)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TDB2 (*((volatile unsigned char *) 0xE004C04C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TFI3 (*((volatile unsigned char *) 0xE004C050)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TID3 (*((volatile unsigned char *) 0xE004C054)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TDA3 (*((volatile unsigned char *) 0xE004C058)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN3TDB3 (*((volatile unsigned char *) 0xE004C05C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4MOD (*((volatile unsigned char *) 0xE0050000)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4CMR (*((volatile unsigned char *) 0xE0050004)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4GSR (*((volatile unsigned char *) 0xE0050008)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4ICR (*((volatile unsigned char *) 0xE005000C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4IER (*((volatile unsigned char *) 0xE0050010)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4BTR (*((volatile unsigned char *) 0xE0050014)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4EWL (*((volatile unsigned char *) 0xE005001C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4SR (*((volatile unsigned char *) 0xE0050020)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4RFS (*((volatile unsigned char *) 0xE0050024)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4RDA (*((volatile unsigned char *) 0xE0050028)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4RDB (*((volatile unsigned char *) 0xE005002C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TFI1 (*((volatile unsigned char *) 0xE0050030)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TID1 (*((volatile unsigned char *) 0xE0050034)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TDA1 (*((volatile unsigned char *) 0xE0050038)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TDB1 (*((volatile unsigned char *) 0xE005003C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TFI2 (*((volatile unsigned char *) 0xE0050040)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TID2 (*((volatile unsigned char *) 0xE0050044)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TDA2 (*((volatile unsigned char *) 0xE0050048)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TDB2 (*((volatile unsigned char *) 0xE005004C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TFI3 (*((volatile unsigned char *) 0xE0050050)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TID3 (*((volatile unsigned char *) 0xE0050054)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TDA3 (*((volatile unsigned char *) 0xE0050058)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN4TDB3 (*((volatile unsigned char *) 0xE005005C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN5MOD (*((volatile unsigned char *) 0xE0054000)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN5CMR (*((volatile unsigned char *) 0xE0054004)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN5GSR (*((volatile unsigned char *) 0xE0054008)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN5ICR (*((volatile unsigned char *) 0xE005400C)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN5IER (*((volatile unsigned char *) 0xE0054010)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
#define CAN5BTR (*((volatile unsigned char *) 0xE0054014)) /* lpc2119\lpc2129\lpc2292\lpc2294 only */
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -