#ifndef AT91M55800A_h
#define AT91M55800A_h
#define EBI_CSR0 (*(volatile unsigned *)0xffe00000)
#define EBI_CSR1 (*(volatile unsigned *)0xffe00004)
#define EBI_CSR2 (*(volatile unsigned *)0xffe00008)
#define EBI_CSR3 (*(volatile unsigned *)0xffe0000c)
#define EBI_CSR4 (*(volatile unsigned *)0xffe00010)
#define EBI_CSR5 (*(volatile unsigned *)0xffe00014)
#define EBI_CSR6 (*(volatile unsigned *)0xffe00018)
#define EBI_CSR7 (*(volatile unsigned *)0xffe0001c)
#define EBI_RCR (*(volatile unsigned *)0xffe00020)
#define EBI_MCR (*(volatile unsigned *)0xffe00024)
#define SF_CIDR (*(volatile unsigned *)0xfff00000)
#define SF_EXID (*(volatile unsigned *)0xfff00004)
#define SF_RSR (*(volatile unsigned *)0xfff00008)
#define SF_PMR (*(volatile unsigned *)0xfff00018)
#define DAC0_CR (*(volatile unsigned *)0xfffa8000)
#define DAC0_MR (*(volatile unsigned *)0xfffa8004)
#define DAC0_DHR (*(volatile unsigned *)0xfffa8008)
#define DAC0_DOR (*(volatile unsigned *)0xfffa800c)
#define DAC0_SR (*(volatile unsigned *)0xfffa8010)
#define DAC0_IER (*(volatile unsigned *)0xfffa8014)
#define DAC0_IDR (*(volatile unsigned *)0xfffa8018)
#define DAC0_IMR (*(volatile unsigned *)0xfffa801c)
#define DAC1_CR (*(volatile unsigned *)0xfffac000)
#define DAC1_MR (*(volatile unsigned *)0xfffac004)
#define DAC1_DHR (*(volatile unsigned *)0xfffac008)
#define DAC1_DOR (*(volatile unsigned *)0xfffac00c)
#define DAC1_SR (*(volatile unsigned *)0xfffac010)
#define DAC1_IER (*(volatile unsigned *)0xfffac014)
#define DAC1_IDR (*(volatile unsigned *)0xfffac018)
#define DAC1_IMR (*(volatile unsigned *)0xfffac01c)
#define ADC0_CR (*(volatile unsigned *)0xfffb0000)
#define ADC0_MR (*(volatile unsigned *)0xfffb0004)
#define ADC0_CHER (*(volatile unsigned *)0xfffb0010)
#define ADC0_CHDR (*(volatile unsigned *)0xfffb0014)
#define ADC0_CHSR (*(volatile unsigned *)0xfffb0018)
#define ADC0_SR (*(volatile unsigned *)0xfffb0020)
#define ADC0_IER (*(volatile unsigned *)0xfffb0024)
#define ADC0_IDR (*(volatile unsigned *)0xfffb0028)
#define ADC0_IMR (*(volatile unsigned *)0xfffb002c)
#define ADC0_CDR0 (*(volatile unsigned *)0xfffb0030)
#define ADC0_CDR1 (*(volatile unsigned *)0xfffb0034)
#define ADC0_CDR2 (*(volatile unsigned *)0xfffb0038)
#define ADC0_CDR3 (*(volatile unsigned *)0xfffb003c)
#define ADC1_CR (*(volatile unsigned *)0xfffb4000)
#define ADC1_MR (*(volatile unsigned *)0xfffb4004)
#define ADC1_CHER (*(volatile unsigned *)0xfffb4010)
#define ADC1_CHDR (*(volatile unsigned *)0xfffb4014)
#define ADC1_CHSR (*(volatile unsigned *)0xfffb4018)
#define ADC1_SR (*(volatile unsigned *)0xfffb4020)
#define ADC1_IER (*(volatile unsigned *)0xfffb4024)
#define ADC1_IDR (*(volatile unsigned *)0xfffb4028)
#define ADC1_IMR (*(volatile unsigned *)0xfffb402c)
#define ADC1_CDR0 (*(volatile unsigned *)0xfffb4030)
#define ADC1_CDR1 (*(volatile unsigned *)0xfffb4034)
#define ADC1_CDR2 (*(volatile unsigned *)0xfffb4038)
#define ADC1_CDR3 (*(volatile unsigned *)0xfffb403c)
#define RTC_MR (*(volatile unsigned *)0xfffb8000)
#define RTC_HMR (*(volatile unsigned *)0xfffb8004)
#define RTC_TIMR (*(volatile unsigned *)0xfffb8008)
#define RTC_CALR (*(volatile unsigned *)0xfffb800c)
#define RTC_TAR (*(volatile unsigned *)0xfffb8010)
#define RTC_CAR (*(volatile unsigned *)0xfffb8014)
#define RTC_SR (*(volatile unsigned *)0xfffb8018)
#define RTC_SCR (*(volatile unsigned *)0xfffb801c)
#define RTC_IER (*(volatile unsigned *)0xfffb8020)
#define RTC_IDR (*(volatile unsigned *)0xfffb8024)
#define RTC_IMR (*(volatile unsigned *)0xfffb8028)
#define RTC_VER (*(volatile unsigned *)0xfffb802c)
#define SP_CR (*(volatile unsigned *)0xfffbc000)
#define SP_MR (*(volatile unsigned *)0xfffbc004)
#define SP_RDR (*(volatile unsigned *)0xfffbc008)
#define SP_TDR (*(volatile unsigned *)0xfffbc00c)
#define SP_SR (*(volatile unsigned *)0xfffbc010)
#define SP_IER (*(volatile unsigned *)0xfffbc014)
#define SP_IDR (*(volatile unsigned *)0xfffbc018)
#define SP_IMR (*(volatile unsigned *)0xfffbc01c)
#define SP_RPR (*(volatile unsigned *)0xfffbc020)
#define SP_RCR (*(volatile unsigned *)0xfffbc024)
#define SP_TPR (*(volatile unsigned *)0xfffbc028)
#define SP_TCR (*(volatile unsigned *)0xfffbc02c)
#define SP_CSR0 (*(volatile unsigned *)0xfffbc030)
#define SP_CSR1 (*(volatile unsigned *)0xfffbc034)
#define SP_CSR2 (*(volatile unsigned *)0xfffbc038)
#define SP_CSR3 (*(volatile unsigned *)0xfffbc03c)
#define US0_CR (*(volatile unsigned *)0xfffc0000)
#define US0_MR (*(volatile unsigned *)0xfffc0004)
#define US0_IER (*(volatile unsigned *)0xfffc0008)
#define US0_IDR (*(volatile unsigned *)0xfffc000c)
#define US0_IMR (*(volatile unsigned *)0xfffc0010)
#define US0_CSR (*(volatile unsigned *)0xfffc0014)
#define US0_RHR (*(volatile unsigned *)0xfffc0018)
#define US0_THR (*(volatile unsigned *)0xfffc001c)
#define US0_BRGR (*(volatile unsigned *)0xfffc0020)
#define US0_RTOR (*(volatile unsigned *)0xfffc0024)
#define US0_TTGR (*(volatile unsigned *)0xfffc0028)
#define US0_RPR (*(volatile unsigned *)0xfffc0030)
#define US0_RCR (*(volatile unsigned *)0xfffc0034)
#define US0_TPR (*(volatile unsigned *)0xfffc0038)
#define US0_TCR (*(volatile unsigned *)0xfffc003c)
#define US1_CR (*(volatile unsigned *)0xfffc4000)
#define US1_MR (*(volatile unsigned *)0xfffc4004)
#define US1_IER (*(volatile unsigned *)0xfffc4008)
#define US1_IDR (*(volatile unsigned *)0xfffc400c)
#define US1_IMR (*(volatile unsigned *)0xfffc4010)
#define US1_CSR (*(volatile unsigned *)0xfffc4014)
#define US1_RHR (*(volatile unsigned *)0xfffc4018)
#define US1_THR (*(volatile unsigned *)0xfffc401c)
#define US1_BRGR (*(volatile unsigned *)0xfffc4020)
#define US1_RTOR (*(volatile unsigned *)0xfffc4024)
#define US1_TTGR (*(volatile unsigned *)0xfffc4028)
#define US1_RPR (*(volatile unsigned *)0xfffc4030)
#define US1_RCR (*(volatile unsigned *)0xfffc4034)
#define US1_TPR (*(volatile unsigned *)0xfffc4038)
#define US1_TCR (*(volatile unsigned *)0xfffc403c)
#define US2_CR (*(volatile unsigned *)0xfffc8000)
#define US2_MR (*(volatile unsigned *)0xfffc8004)
#define US2_IER (*(volatile unsigned *)0xfffc8008)
#define US2_IDR (*(volatile unsigned *)0xfffc800c)
#define US2_IMR (*(volatile unsigned *)0xfffc8010)
#define US2_CSR (*(volatile unsigned *)0xfffc8014)
#define US2_RHR (*(volatile unsigned *)0xfffc8018)
#define US2_THR (*(volatile unsigned *)0xfffc801c)
#define US2_BRGR (*(volatile unsigned *)0xfffc8020)
#define US2_RTOR (*(volatile unsigned *)0xfffc8024)
#define US2_TTGR (*(volatile unsigned *)0xfffc8028)
#define US2_RPR (*(volatile unsigned *)0xfffc8030)
#define US2_RCR (*(volatile unsigned *)0xfffc8034)
#define US2_TPR (*(volatile unsigned *)0xfffc8038)
#define US2_TCR (*(volatile unsigned *)0xfffc803c)
#define TC0_CCR (*(volatile unsigned *)0xfffd0000)
#define TC0_CMR (*(volatile unsigned *)0xfffd0004)
#define TC0_CV (*(volatile unsigned *)0xfffd0010)
#define TC0_RA (*(volatile unsigned *)0xfffd0014)
#define TC0_RB (*(volatile unsigned *)0xfffd0018)
#define TC0_RC (*(volatile unsigned *)0xfffd001c)
#define TC0_SR (*(volatile unsigned *)0xfffd0020)
#define TC0_IER (*(volatile unsigned *)0xfffd0024)
#define TC0_IDR (*(volatile unsigned *)0xfffd0028)
#define TC0_IMR (*(volatile unsigned *)0xfffd002c)
#define TC1_CCR (*(volatile unsigned *)0xfffd0040)
#define TC1_CMR (*(volatile unsigned *)0xfffd0044)
#define TC1_CV (*(volatile unsigned *)0xfffd0050)
#define TC1_RA (*(volatile unsigned *)0xfffd0054)
#define TC1_RB (*(volatile unsigned *)0xfffd0058)
#define TC1_RC (*(volatile unsigned *)0xfffd005c)
#define TC1_SR (*(volatile unsigned *)0xfffd0060)
#define TC1_IER (*(volatile unsigned *)0xfffd0064)
#define TC1_IDR (*(volatile unsigned *)0xfffd0068)
#define TC1_IMR (*(volatile unsigned *)0xfffd006c)
#define TC2_CCR (*(volatile unsigned *)0xfffd0080)
#define TC2_CMR (*(volatile unsigned *)0xfffd0084)
#define TC2_CV (*(volatile unsigned *)0xfffd0090)
#define TC2_RA (*(volatile unsigned *)0xfffd0094)
#define TC2_RB (*(volatile unsigned *)0xfffd0098)
#define TC2_RC (*(volatile unsigned *)0xfffd009c)
#define TC2_SR (*(volatile unsigned *)0xfffd00a0)
#define TC2_IER (*(volatile unsigned *)0xfffd00a4)
#define TC2_IDR (*(volatile unsigned *)0xfffd00a8)
#define TC2_IMR (*(volatile unsigned *)0xfffd00ac)
#define TC012_BCR (*(volatile unsigned *)0xfffd00c0)
#define TC012_BMR (*(volatile unsigned *)0xfffd00c4)
#define TC3_CCR (*(volatile unsigned *)0xfffd4000)
#define TC3_CMR (*(volatile unsigned *)0xfffd4004)
#define TC3_CV (*(volatile unsigned *)0xfffd4010)
#define TC3_RA (*(volatile unsigned *)0xfffd4014)
#define TC3_RB (*(volatile unsigned *)0xfffd4018)
#define TC3_RC (*(volatile unsigned *)0xfffd401c)
#define TC3_SR (*(volatile unsigned *)0xfffd4020)
#define TC3_IER (*(volatile unsigned *)0xfffd4024)
#define TC3_IDR (*(volatile unsigned *)0xfffd4028)
#define TC3_IMR (*(volatile unsigned *)0xfffd402c)
#define TC4_CCR (*(volatile unsigned *)0xfffd4040)
#define TC4_CMR (*(volatile unsigned *)0xfffd4044)
#define TC4_CV (*(volatile unsigned *)0xfffd4050)
#define TC4_RA (*(volatile unsigned *)0xfffd4054)
#define TC4_RB (*(volatile unsigned *)0xfffd4058)
#define TC4_RC (*(volatile unsigned *)0xfffd405c)
#define TC4_SR (*(volatile unsigned *)0xfffd4060)
#define TC4_IER (*(volatile unsigned *)0xfffd4064)
#define TC4_IDR (*(volatile unsigned *)0xfffd4068)
#define TC4_IMR (*(volatile unsigned *)0xfffd406c)
#define TC5_CCR (*(volatile unsigned *)0xfffd4080)
#define TC5_CMR (*(volatile unsigned *)0xfffd4084)
#define TC5_CV (*(volatile unsigned *)0xfffd4090)
#define TC5_RA (*(volatile unsigned *)0xfffd4094)
#define TC5_RB (*(volatile unsigned *)0xfffd4098)
#define TC5_RC (*(volatile unsigned *)0xfffd409c)
#define TC5_SR (*(volatile unsigned *)0xfffd40a0)
#define TC5_IER (*(volatile unsigned *)0xfffd40a4)
#define TC5_IDR (*(volatile unsigned *)0xfffd40a8)
#define TC5_IMR (*(volatile unsigned *)0xfffd40ac)
#define TC345_BCR (*(volatile unsigned *)0xfffd40c0)
#define TC345_BMR (*(volatile unsigned *)0xfffd40c4)
#define PIOA_PER (*(volatile unsigned *)0xfffec000)
#define PIOA_PDR (*(volatile unsigned *)0xfffec004)
#define PIOA_PSR (*(volatile unsigned *)0xfffec008)
#define PIOA_OER (*(volatile unsigned *)0xfffec010)
#define PIOA_ODR (*(volatile unsigned *)0xfffec014)
#define PIOA_OSR (*(volatile unsigned *)0xfffec018)
#define PIOA_IFER (*(volatile unsigned *)0xfffec020)
#define PIOA_IFDR (*(volatile unsigned *)0xfffec024)
#define PIOA_IFSR (*(volatile unsigned *)0xfffec028)
#define PIOA_SODR (*(volatile unsigned *)0xfffec030)
#define PIOA_CODR (*(volatile unsigned *)0xfffec034)
#define PIOA_ODSR (*(volatile unsigned *)0xfffec038)
#define PIOA_PDSR (*(volatile unsigned *)0xfffec03c)
#define PIOA_IER (*(volatile unsigned *)0xfffec040)
#define PIOA_IDR (*(volatile unsigned *)0xfffec044)
#define PIOA_IMR (*(volatile unsigned *)0xfffec048)
#define PIOA_ISR (*(volatile unsigned *)0xfffec04c)
#define PIOA_MDER (*(volatile unsigned *)0xfffec050)
#define PIOA_MDDR (*(volatile unsigned *)0xfffec054)
#define PIOA_MDSR (*(volatile unsigned *)0xfffec058)
#define PIOB_PER (*(volatile unsigned *)0xffff0000)
#define PIOB_PDR (*(volatile unsigned *)0xffff0004)
#define PIOB_PSR (*(volatile unsigned *)0xffff0008)
#define PIOB_OER (*(volatile unsigned *)0xffff0010)
#define PIOB_ODR (*(volatile unsigned *)0xffff0014)
#define PIOB_OSR (*(volatile unsigned *)0xffff0018)
#define PIOB_IFER (*(volatile unsigned *)0xffff0020)
#define PIOB_IFDR (*(volatile unsigned *)0xffff0024)
#define PIOB_IFSR (*(volatile unsigned *)0xffff0028)
#define PIOB_SODR (*(volatile unsigned *)0xffff0030)
#define PIOB_CODR (*(volatile unsigned *)0xffff0034)
#define PIOB_ODSR (*(volatile unsigned *)0xffff0038)
#define PIOB_PDSR (*(volatile unsigned *)0xffff003c)
#define PIOB_IER (*(volatile unsigned *)0xffff0040)
#define PIOB_IDR (*(volatile unsigned *)0xffff0044)
#define PIOB_IMR (*(volatile unsigned *)0xffff0048)
#define PIOB_ISR (*(volatile unsigned *)0xffff004c)
#define PIOB_MDER (*(volatile unsigned *)0xffff0050)
#define PIOB_MDDR (*(volatile unsigned *)0xffff0054)
#define PIOB_MDSR (*(volatile unsigned *)0xffff0058)
#define APMC_SCER (*(volatile unsigned *)0xffff4000)
#define APMC_SCDR (*(volatile unsigned *)0xffff4004)
#define APMC_SCSR (*(volatile unsigned *)0xffff4008)
#define APMC_PCER (*(volatile unsigned *)0xffff4010)
#define APMC_PCDR (*(volatile unsigned *)0xffff4014)
#define APMC_PCSR (*(volatile unsigned *)0xffff4018)
#define APMC_CGMR (*(volatile unsigned *)0xffff4020)
#define APMC_PCR (*(volatile unsigned *)0xffff4028)
#define APMC_PMR (*(volatile unsigned *)0xffff402c)
#define APMC_SR (*(volatile unsigned *)0xffff4030)
#define APMC_IER (*(volatile unsigned *)0xffff4034)
#define APMC_IDR (*(volatile unsigned *)0xffff4038)
#define APMC_IMR (*(volatile unsigned *)0xffff403c)
#define WD_OMR (*(volatile unsigned *)0xffff8000)
#define WD_CMR (*(volatile unsigned *)0xffff8004)
#define WD_CR (*(volatile unsigned *)0xffff8008)
#define WD_SR (*(volatile unsigned *)0xffff800c)
#define AIC_SMR0 (*(volatile unsigned *)0xfffff000)
#define AIC_SMR1 (*(volatile unsigned *)0xfffff004)
#define AIC_SMR2 (*(volatile unsigned *)0xfffff008)
#define AIC_SMR3 (*(volatile unsigned *)0xfffff00c)
#define AIC_SMR4 (*(volatile unsigned *)0xfffff010)
#define AIC_SMR5 (*(volatile unsigned *)0xfffff014)
#define AIC_SMR6 (*(volatile unsigned *)0xfffff018)
#define AIC_SMR7 (*(volatile unsigned *)0xfffff01c)
#define AIC_SMR8 (*(volatile unsigned *)0xfffff020)
#define AIC_SMR9 (*(volatile unsigned *)0xfffff024)
#define AIC_SMR10 (*(volatile unsigned *)0xfffff028)
#define AIC_SMR11 (*(volatile unsigned *)0xfffff02c)
#define AIC_SMR12 (*(volatile unsigned *)0xfffff030)
#define AIC_SMR13 (*(volatile unsigned *)0xfffff034)
#define AIC_SMR14 (*(volatile unsigned *)0xfffff038)
#define AIC_SMR15 (*(volatile unsigned *)0xfffff03c)
#define AIC_SMR16 (*(volatile unsigned *)0xfffff040)
#define AIC_SMR17 (*(volatile unsigned *)0xfffff044)
#define AIC_SMR18 (*(volatile unsigned *)0xfffff048)
#define AIC_SMR19 (*(volatile unsigned *)0xfffff04c)
#define AIC_SMR20 (*(volatile unsigned *)0xfffff050)
#define AIC_SMR21 (*(volatile unsigned *)0xfffff054)
#define AIC_SMR22 (*(volatile unsigned *)0xfffff058)
#define AIC_SMR23 (*(volatile unsigned *)0xfffff05c)
#define AIC_SMR24 (*(volatile unsigned *)0xfffff060)
#define AIC_SMR25 (*(volatile unsigned *)0xfffff064)
#define AIC_SMR26 (*(volatile unsigned *)0xfffff068)
#define AIC_SMR27 (*(volatile unsigned *)0xfffff06c)
#define AIC_SMR28 (*(volatile unsigned *)0xfffff070)
#define AIC_SMR29 (*(volatile unsigned *)0xfffff074)
#define AIC_SMR30 (*(volatile unsigned *)0xfffff078)
#define AIC_SMR31 (*(volatile unsigned *)0xfffff07c)
#define AIC_SVR0 (*(volatile unsigned *)0xfffff080)
#define AIC_SVR1 (*(volatile unsigned *)0xfffff084)
#define AIC_SVR2 (*(volatile unsigned *)0xfffff088)
#define AIC_SVR3 (*(volatile unsigned *)0xfffff08c)
#define AIC_SVR4 (*(volatile unsigned *)0xfffff090)
#define AIC_SVR5 (*(volatile unsigned *)0xfffff094)
#define AIC_SVR6 (*(volatile unsigned *)0xfffff098)
#define AIC_SVR7 (*(volatile unsigned *)0xfffff09c)
#define AIC_SVR8 (*(volatile unsigned *)0xfffff0a0)
#define AIC_SVR9 (*(volatile unsigned *)0xfffff0a4)
#define AIC_SVR10 (*(volatile unsigned *)0xfffff0a8)
#define AIC_SVR11 (*(volatile unsigned *)0xfffff0ac)
#define AIC_SVR12 (*(volatile unsigned *)0xfffff0b0)
#define AIC_SVR13 (*(volatile unsigned *)0xfffff0b4)
#define AIC_SVR14 (*(volatile unsigned *)0xfffff0b8)
#define AIC_SVR15 (*(volatile unsigned *)0xfffff0bc)
#define AIC_SVR16 (*(volatile unsigned *)0xfffff0c0)
#define AIC_SVR17 (*(volatile unsigned *)0xfffff0c4)
#define AIC_SVR18 (*(volatile unsigned *)0xfffff0c8)
#define AIC_SVR19 (*(volatile unsigned *)0xfffff0cc)
#define AIC_SVR20 (*(volatile unsigned *)0xfffff0d0)
#define AIC_SVR21 (*(volatile unsigned *)0xfffff0d4)
#define AIC_SVR22 (*(volatile unsigned *)0xfffff0d8)
#define AIC_SVR23 (*(volatile unsigned *)0xfffff0dc)
#define AIC_SVR24 (*(volatile unsigned *)0xfffff0e0)
#define AIC_SVR25 (*(volatile unsigned *)0xfffff0e4)
#define AIC_SVR26 (*(volatile unsigned *)0xfffff0e8)
#define AIC_SVR27 (*(volatile unsigned *)0xfffff0ec)
#define AIC_SVR28 (*(volatile unsigned *)0xfffff0f0)
#define AIC_SVR29 (*(volatile unsigned *)0xfffff0f4)
#define AIC_SVR30 (*(volatile unsigned *)0xfffff0f8)
#define AIC_SVR31 (*(volatile unsigned *)0xfffff0fc)
#define AIC_IVR (*(volatile unsigned *)0xfffff100)
#define AIC_FVR (*(volatile unsigned *)0xfffff104)
#define AIC_ISR (*(volatile unsigned *)0xfffff108)
#define AIC_IPR (*(volatile unsigned *)0xfffff10c)
#define AIC_IMR (*(volatile unsigned *)0xfffff110)
#define AIC_CISR (*(volatile unsigned *)0xfffff114)
#define AIC_IECR (*(volatile unsigned *)0xfffff120)
#define AIC_IDCR (*(volatile unsigned *)0xfffff124)
#define AIC_ICCR (*(volatile unsigned *)0xfffff128)
#define AIC_ISCR (*(volatile unsigned *)0xfffff12c)
#define AIC_EOICR (*(volatile unsigned *)0xfffff130)
#define AIC_SPU (*(volatile unsigned *)0xfffff134)
#endif
