#ifndef STR71x_h
#define STR71x_h
#define APB1_CKDIS (*(volatile unsigned long *)0xc0000010)
#define APB1_SWRES (*(volatile unsigned long *)0xc0000014)
#define I2C0_CR (*(volatile unsigned char *)0xc0001000)
#define I2C0_SR1 (*(volatile unsigned char *)0xc0001004)
#define I2C0_SR2 (*(volatile unsigned char *)0xc0001008)
#define I2C0_CCR (*(volatile unsigned char *)0xc000100c)
#define I2C0_OAR1 (*(volatile unsigned char *)0xc0001010)
#define I2C0_OAR2 (*(volatile unsigned char *)0xc0001014)
#define I2C0_DR (*(volatile unsigned char *)0xc0001018)
#define I2C0_ECCR (*(volatile unsigned char *)0xc000101c)
#define I2C1_CR (*(volatile unsigned char *)0xc0002000)
#define I2C1_SR1 (*(volatile unsigned char *)0xc0002004)
#define I2C1_SR2 (*(volatile unsigned char *)0xc0002008)
#define I2C1_CCR (*(volatile unsigned char *)0xc000200c)
#define I2C1_OAR1 (*(volatile unsigned char *)0xc0002010)
#define I2C1_OAR2 (*(volatile unsigned char *)0xc0002014)
#define I2C1_DR (*(volatile unsigned char *)0xc0002018)
#define I2C1_ECCR (*(volatile unsigned char *)0xc000201c)
#define UART0_BR (*(volatile unsigned short *)0xc0004000)
#define UART0_TxBUFR (*(volatile unsigned short *)0xc0004004)
#define UART0_RxBUFR (*(volatile unsigned short *)0xc0004008)
#define UART0_CR (*(volatile unsigned short *)0xc000400c)
#define UART0_IER (*(volatile unsigned short *)0xc0004010)
#define UART0_SR (*(volatile unsigned short *)0xc0004014)
#define UART0_GTR (*(volatile unsigned short *)0xc0004018)
#define UART0_TOR (*(volatile unsigned short *)0xc000401c)
#define UART0_TxRSTR (*(volatile unsigned short *)0xc0004020)
#define UART0_RxRSTR (*(volatile unsigned short *)0xc0004024)
#define UART1_BR (*(volatile unsigned short *)0xc0005000)
#define UART1_TxBUFR (*(volatile unsigned short *)0xc0005004)
#define UART1_RxBUFR (*(volatile unsigned short *)0xc0005008)
#define UART1_CR (*(volatile unsigned short *)0xc000500c)
#define UART1_IER (*(volatile unsigned short *)0xc0005010)
#define UART1_SR (*(volatile unsigned short *)0xc0005014)
#define UART1_GTR (*(volatile unsigned short *)0xc0005018)
#define UART1_TOR (*(volatile unsigned short *)0xc000501c)
#define UART1_TxRSTR (*(volatile unsigned short *)0xc0005020)
#define UART1_RxRSTR (*(volatile unsigned short *)0xc0005024)
#define SC_ClkVal (*(volatile unsigned short *)0xc0005040)
#define SC_ClkCon (*(volatile unsigned short *)0xc0005044)
#define UART2_BR (*(volatile unsigned short *)0xc0006000)
#define UART2_TxBUFR (*(volatile unsigned short *)0xc0006004)
#define UART2_RxBUFR (*(volatile unsigned short *)0xc0006008)
#define UART2_CR (*(volatile unsigned short *)0xc000600c)
#define UART2_IER (*(volatile unsigned short *)0xc0006010)
#define UART2_SR (*(volatile unsigned short *)0xc0006014)
#define UART2_GTR (*(volatile unsigned short *)0xc0006018)
#define UART2_TOR (*(volatile unsigned short *)0xc000601c)
#define UART2_TxRSTR (*(volatile unsigned short *)0xc0006020)
#define UART2_RxRSTR (*(volatile unsigned short *)0xc0006024)
#define UART3_BR (*(volatile unsigned short *)0xc0007000)
#define UART3_TxBUFR (*(volatile unsigned short *)0xc0007004)
#define UART3_RxBUFR (*(volatile unsigned short *)0xc0007008)
#define UART3_CR (*(volatile unsigned short *)0xc000700c)
#define UART3_IER (*(volatile unsigned short *)0xc0007010)
#define UART3_SR (*(volatile unsigned short *)0xc0007014)
#define UART3_GTR (*(volatile unsigned short *)0xc0007018)
#define UART3_TOR (*(volatile unsigned short *)0xc000701c)
#define UART3_TxRSTR (*(volatile unsigned short *)0xc0007020)
#define UART3_RxRSTR (*(volatile unsigned short *)0xc0007024)
#define USB_EP0R (*(volatile unsigned short *)0xc0008000)
#define USB_EP1R (*(volatile unsigned short *)0xc0008004)
#define USB_EP2R (*(volatile unsigned short *)0xc0008008)
#define USB_EP3R (*(volatile unsigned short *)0xc000800c)
#define USB_EP4R (*(volatile unsigned short *)0xc0008010)
#define USB_EP5R (*(volatile unsigned short *)0xc0008014)
#define USB_EP6R (*(volatile unsigned short *)0xc0008018)
#define USB_EP7R (*(volatile unsigned short *)0xc000801c)
#define USB_EP8R (*(volatile unsigned short *)0xc0008020)
#define USB_EP9R (*(volatile unsigned short *)0xc0008024)
#define USB_EP10R (*(volatile unsigned short *)0xc0008028)
#define USB_EP11R (*(volatile unsigned short *)0xc000802c)
#define USB_EP12R (*(volatile unsigned short *)0xc0008030)
#define USB_EP13R (*(volatile unsigned short *)0xc0008034)
#define USB_EP14R (*(volatile unsigned short *)0xc0008038)
#define USB_EP15R (*(volatile unsigned short *)0xc000803c)
#define USB_CNTR (*(volatile unsigned short *)0xc0008040)
#define USB_ISTR (*(volatile unsigned short *)0xc0008044)
#define USB_FNR (*(volatile unsigned short *)0xc0008048)
#define USB_DADDR (*(volatile unsigned short *)0xc000804c)
#define USB_BTABLE (*(volatile unsigned short *)0xc0008050)
#define CAN_CR (*(volatile unsigned short *)0xc0009000)
#define CAN_SR (*(volatile unsigned short *)0xc0009004)
#define CAN_ERR (*(volatile unsigned short *)0xc0009008)
#define CAN_BTR (*(volatile unsigned short *)0xc000900c)
#define CAN_IDR (*(volatile unsigned short *)0xc0009010)
#define CAN_TESTR (*(volatile unsigned short *)0xc0009014)
#define CAN_BRPR (*(volatile unsigned short *)0xc0009018)
#define CAN_IF1_CR (*(volatile unsigned short *)0xc0009020)
#define CAN_IF1_CMR (*(volatile unsigned short *)0xc0009024)
#define CAN_IF1_M1R (*(volatile unsigned short *)0xc0009028)
#define CAN_IF1_M2R (*(volatile unsigned short *)0xc000902c)
#define CAN_IF1_A1R (*(volatile unsigned short *)0xc0009030)
#define CAN_IF1_A2R (*(volatile unsigned short *)0xc0009034)
#define CAN_IF1_MCR (*(volatile unsigned short *)0xc0009038)
#define CAN_IF1_DA1R (*(volatile unsigned short *)0xc000903c)
#define CAN_IF1_DA2R (*(volatile unsigned short *)0xc0009040)
#define CAN_IF1_DB1R (*(volatile unsigned short *)0xc0009044)
#define CAN_IF1_DB2R (*(volatile unsigned short *)0xc0009048)
#define CAN_IF2_CMR (*(volatile unsigned short *)0xc0009080)
#define CAN_IF2_CMR (*(volatile unsigned short *)0xc0009084)
#define CAN_IF2_M1R (*(volatile unsigned short *)0xc0009088)
#define CAN_IF2_M2R (*(volatile unsigned short *)0xc000908c)
#define CAN_IF2_A1R (*(volatile unsigned short *)0xc0009090)
#define CAN_IF2_A2R (*(volatile unsigned short *)0xc0009094)
#define CAN_IF2_MCR (*(volatile unsigned short *)0xc0009098)
#define CAN_IF2_DA1R (*(volatile unsigned short *)0xc000909c)
#define CAN_IF2_DA2R (*(volatile unsigned short *)0xc00090a0)
#define CAN_IF2_DB1R (*(volatile unsigned short *)0xc00090a4)
#define CAN_IF2_DB2R (*(volatile unsigned short *)0xc00090a8)
#define CAN_TxR1R (*(volatile unsigned short *)0xc0009100)
#define CAN_TxR2R (*(volatile unsigned short *)0xc0009104)
#define CAN_ND1R (*(volatile unsigned short *)0xc0009120)
#define CAN_ND2R (*(volatile unsigned short *)0xc0009124)
#define CAN_IP1R (*(volatile unsigned short *)0xc0009140)
#define CAN_IP2R (*(volatile unsigned short *)0xc0009144)
#define CAN_MV1R (*(volatile unsigned short *)0xc0009160)
#define CAN_MV2R (*(volatile unsigned short *)0xc0009164)
#define BSPI0_RXR (*(volatile unsigned short *)0xc000a000)
#define BSPI0_TXR (*(volatile unsigned short *)0xc000a004)
#define BSPI0_CSR1 (*(volatile unsigned short *)0xc000a008)
#define BSPI0_CSR2 (*(volatile unsigned short *)0xc000a00c)
#define BSPI0_CLK (*(volatile unsigned short *)0xc000a010)
#define BSPI1_RXR (*(volatile unsigned short *)0xc000b000)
#define BSPI1_TXR (*(volatile unsigned short *)0xc000b004)
#define BSPI1_CSR1 (*(volatile unsigned short *)0xc000b008)
#define BSPI1_CSR2 (*(volatile unsigned short *)0xc000b00c)
#define BSPI1_CLK (*(volatile unsigned short *)0xc000b010)
#define HDLC_PARH (*(volatile unsigned short *)0xc000e000)
#define HDLC_PARL (*(volatile unsigned short *)0xc000e004)
#define HDLC_PAMH (*(volatile unsigned short *)0xc000e008)
#define HDLC_PAML (*(volatile unsigned short *)0xc000e00c)
#define HDLC_GA1 (*(volatile unsigned short *)0xc000e010)
#define HDLC_GA0 (*(volatile unsigned short *)0xc000e014)
#define HDLC_GAM1 (*(volatile unsigned short *)0xc000e018)
#define HDLC_GAM0 (*(volatile unsigned short *)0xc000e01c)
#define HDLC_PRES (*(volatile unsigned short *)0xc000e020)
#define HDLC_POSS (*(volatile unsigned short *)0xc000e024)
#define HDLC_TCTL (*(volatile unsigned short *)0xc000e028)
#define HDLC_RCTL (*(volatile unsigned short *)0xc000e02c)
#define HDLC_BRR (*(volatile unsigned short *)0xc000e030)
#define HDLC_PRSR (*(volatile unsigned short *)0xc000e034)
#define HDLC_PSR (*(volatile unsigned short *)0xc000e038)
#define HDLC_FSBR (*(volatile unsigned short *)0xc000e03c)
#define HDLC_TFBCR (*(volatile unsigned short *)0xc000e040)
#define HDLC_RFBCR (*(volatile unsigned short *)0xc000e044)
#define HDLC_PCR (*(volatile unsigned short *)0xc000e048)
#define HDLC_ISR (*(volatile unsigned short *)0xc000e04c)
#define HDLC_IMR (*(volatile unsigned short *)0xc000e050)
#define APB2_CKDIS (*(volatile unsigned long *)0xe0000010)
#define APB2_SWRES (*(volatile unsigned long *)0xe0000014)
#define XTI_SR (*(volatile unsigned char *)0xe000101c)
#define XTI_CTRL (*(volatile unsigned char *)0xe0001024)
#define XTI_MRH (*(volatile unsigned char *)0xe0001028)
#define XTI_MRL (*(volatile unsigned char *)0xe000102c)
#define XTI_TRH (*(volatile unsigned char *)0xe0001030)
#define XTI_TRL (*(volatile unsigned char *)0xe0001034)
#define XTI_PRH (*(volatile unsigned char *)0xe0001038)
#define XTI_PRL (*(volatile unsigned char *)0xe000103c)
#define IOPORT0_PC0 (*(volatile unsigned short *)0xe0003000)
#define IOPORT0_PC1 (*(volatile unsigned short *)0xe0003004)
#define IOPORT0_PC2 (*(volatile unsigned short *)0xe0003008)
#define IOPORT0_PD (*(volatile unsigned short *)0xe000300c)
#define IOPORT1_PC0 (*(volatile unsigned short *)0xe0004000)
#define IOPORT1_PC1 (*(volatile unsigned short *)0xe0004004)
#define IOPORT1_PC2 (*(volatile unsigned short *)0xe0004008)
#define IOPORT1_PD (*(volatile unsigned short *)0xe000400c)
#define IOPORT2_PC0 (*(volatile unsigned short *)0xe0005000)
#define IOPORT2_PC1 (*(volatile unsigned short *)0xe0005004)
#define IOPORT2_PC2 (*(volatile unsigned short *)0xe0005008)
#define IOPORT2_PD (*(volatile unsigned short *)0xe000500c)
#define ADC_DATA0 (*(volatile unsigned short *)0xe0007000)
#define ADC_DATA1 (*(volatile unsigned short *)0xe0007008)
#define ADC_DATA2 (*(volatile unsigned short *)0xe0007010)
#define ADC_DATA3 (*(volatile unsigned short *)0xe0007018)
#define ADC_CSR (*(volatile unsigned short *)0xe0007020)
#define ADC_CPR (*(volatile unsigned short *)0xe0007030)
#define TIM0_ICAR (*(volatile unsigned short *)0xe0009000)
#define TIM0_ICBR (*(volatile unsigned short *)0xe0009004)
#define TIM0_OCAR (*(volatile unsigned short *)0xe0009008)
#define TIM0_OCBR (*(volatile unsigned short *)0xe000900c)
#define TIM0_CNTR (*(volatile unsigned short *)0xe0009010)
#define TIM0_CR1 (*(volatile unsigned short *)0xe0009014)
#define TIM0_CR2 (*(volatile unsigned short *)0xe0009018)
#define TIM0_SR (*(volatile unsigned short *)0xe000901c)
#define TIM1_ICAR (*(volatile unsigned short *)0xe000a000)
#define TIM1_ICBR (*(volatile unsigned short *)0xe000a004)
#define TIM1_OCAR (*(volatile unsigned short *)0xe000a008)
#define TIM1_OCBR (*(volatile unsigned short *)0xe000a00c)
#define TIM1_CNTR (*(volatile unsigned short *)0xe000a010)
#define TIM1_CR1 (*(volatile unsigned short *)0xe000a014)
#define TIM1_CR2 (*(volatile unsigned short *)0xe000a018)
#define TIM1_SR (*(volatile unsigned short *)0xe000a01c)
#define TIM2_ICAR (*(volatile unsigned short *)0xe000b000)
#define TIM2_ICBR (*(volatile unsigned short *)0xe000b004)
#define TIM2_OCAR (*(volatile unsigned short *)0xe000b008)
#define TIM2_OCBR (*(volatile unsigned short *)0xe000b00c)
#define TIM2_CNTR (*(volatile unsigned short *)0xe000b010)
#define TIM2_CR1 (*(volatile unsigned short *)0xe000b014)
#define TIM2_CR2 (*(volatile unsigned short *)0xe000b018)
#define TIM2_SR (*(volatile unsigned short *)0xe000b01c)
#define TIM3_ICAR (*(volatile unsigned short *)0xe000c000)
#define TIM3_ICBR (*(volatile unsigned short *)0xe000c004)
#define TIM3_OCAR (*(volatile unsigned short *)0xe000c008)
#define TIM3_OCBR (*(volatile unsigned short *)0xe000c00c)
#define TIM3_CNTR (*(volatile unsigned short *)0xe000c010)
#define TIM3_CR1 (*(volatile unsigned short *)0xe000c014)
#define TIM3_CR2 (*(volatile unsigned short *)0xe000c018)
#define TIM3_SR (*(volatile unsigned short *)0xe000c01c)
#define RTC_CRH (*(volatile unsigned short *)0xe000d000)
#define RTC_CRL (*(volatile unsigned short *)0xe000d004)
#define RTC_PRLH (*(volatile unsigned short *)0xe000d008)
#define RTC_PRLL (*(volatile unsigned short *)0xe000d00c)
#define RTC_DIVH (*(volatile unsigned short *)0xe000d010)
#define RTC_DIVL (*(volatile unsigned short *)0xe000d014)
#define RTC_CNTH (*(volatile unsigned short *)0xe000d018)
#define RTC_CNTL (*(volatile unsigned short *)0xe000d01c)
#define RTC_ALRH (*(volatile unsigned short *)0xe000d020)
#define RTC_ALRL (*(volatile unsigned short *)0xe000d024)
#define WDG_CR (*(volatile unsigned short *)0xe000e000)
#define WDG_PR (*(volatile unsigned short *)0xe000e004)
#define WDG_VR (*(volatile unsigned short *)0xe000e008)
#define WDG_CNT (*(volatile unsigned short *)0xe000e00c)
#define WDG_SR (*(volatile unsigned short *)0xe000e010)
#define WDG_MR (*(volatile unsigned short *)0xe000e014)
#define WDG_KR (*(volatile unsigned short *)0xe000e018)
#define EIC_ICR (*(volatile unsigned long *)0xfffffc00)
#define EIC_CICR (*(volatile unsigned long *)0xfffffc04)
#define EIC_CIPR (*(volatile unsigned long *)0xfffffc08)
#define EIC_IVR (*(volatile unsigned long *)0xfffffc18)
#define EIC_FIR (*(volatile unsigned long *)0xfffffc1c)
#define EIC_IER0 (*(volatile unsigned long *)0xfffffc20)
#define EIC_IPR0 (*(volatile unsigned long *)0xfffffc40)
#define EIC_SIR0 (*(volatile unsigned long *)0xfffffc60)
#define EIC_SIR1 (*(volatile unsigned long *)0xfffffc64)
#define EIC_SIR2 (*(volatile unsigned long *)0xfffffc68)
#define EIC_SIR3 (*(volatile unsigned long *)0xfffffc6c)
#define EIC_SIR4 (*(volatile unsigned long *)0xfffffc70)
#define EIC_SIR5 (*(volatile unsigned long *)0xfffffc74)
#define EIC_SIR6 (*(volatile unsigned long *)0xfffffc78)
#define EIC_SIR7 (*(volatile unsigned long *)0xfffffc7c)
#define EIC_SIR8 (*(volatile unsigned long *)0xfffffc80)
#define EIC_SIR9 (*(volatile unsigned long *)0xfffffc84)
#define EIC_SIR10 (*(volatile unsigned long *)0xfffffc88)
#define EIC_SIR11 (*(volatile unsigned long *)0xfffffc8c)
#define EIC_SIR12 (*(volatile unsigned long *)0xfffffc90)
#define EIC_SIR13 (*(volatile unsigned long *)0xfffffc94)
#define EIC_SIR14 (*(volatile unsigned long *)0xfffffc98)
#define EIC_SIR15 (*(volatile unsigned long *)0xfffffc9c)
#define EIC_SIR16 (*(volatile unsigned long *)0xfffffca0)
#define EIC_SIR17 (*(volatile unsigned long *)0xfffffca4)
#define EIC_SIR18 (*(volatile unsigned long *)0xfffffca8)
#define EIC_SIR19 (*(volatile unsigned long *)0xfffffcac)
#define EIC_SIR20 (*(volatile unsigned long *)0xfffffcb0)
#define EIC_SIR21 (*(volatile unsigned long *)0xfffffcb4)
#define EIC_SIR22 (*(volatile unsigned long *)0xfffffcb8)
#define EIC_SIR23 (*(volatile unsigned long *)0xfffffcbc)
#define EIC_SIR24 (*(volatile unsigned long *)0xfffffcc0)
#define EIC_SIR25 (*(volatile unsigned long *)0xfffffcc4)
#define EIC_SIR26 (*(volatile unsigned long *)0xfffffcc8)
#define EIC_SIR27 (*(volatile unsigned long *)0xfffffccc)
#define EIC_SIR28 (*(volatile unsigned long *)0xfffffcd0)
#define EIC_SIR29 (*(volatile unsigned long *)0xfffffcd4)
#define EIC_SIR30 (*(volatile unsigned long *)0xfffffcd8)
#define EIC_SIR31 (*(volatile unsigned long *)0xfffffcdc)
#define EMI_BCON0 (*(volatile unsigned *)0x6c000000)
#define EMI_BCON1 (*(volatile unsigned *)0x6c000004)
#define EMI_BCON2 (*(volatile unsigned *)0x6c000008)
#define EMI_BCON3 (*(volatile unsigned *)0x6c00000c)
#define FLASH_CR0 (*(volatile unsigned *)0x40100000)
#define FLASH_CR1 (*(volatile unsigned *)0x40100004)
#define FLASH_DR0 (*(volatile unsigned *)0x40100008)
#define FLASH_DR1 (*(volatile unsigned *)0x4010000c)
#define FLASH_AR (*(volatile unsigned *)0x40100010)
#define FLASH_ER (*(volatile unsigned *)0x40100014)
#define FLASH_NVWPAR (*(volatile unsigned *)0x4010dfb0)
#define FLASH_NVAPR0 (*(volatile unsigned *)0x4010dfb8)
#define FLASH_NVAPR1 (*(volatile unsigned *)0x4010dfbc)
#define PRCCU_CCR (*(volatile unsigned long *)0xa0000000)
#define PRCCU_CFR (*(volatile unsigned long *)0xa0000008)
#define PRCCU_PLL1CR (*(volatile unsigned long *)0xa0000018)
#define PRCCU_PER (*(volatile unsigned long *)0xa000001c)
#define PRCCU_SMR (*(volatile unsigned long *)0xa0000020)
#define PRCCU_MDIVR (*(volatile unsigned long *)0xa0000040)
#define PRCCU_PDIVR (*(volatile unsigned long *)0xa0000044)
#define PRCCU_RSTR (*(volatile unsigned long *)0xa0000048)
#define PRCCU_PLL2CR (*(volatile unsigned long *)0xa000004c)
#define PRCCU_BOOTCR (*(volatile unsigned long *)0xa0000050)
#define PRCCU_PWRCR (*(volatile unsigned long *)0xa0000054)
#endif
