30 #ifndef _SAM3XA_SPI1_INSTANCE_ 31 #define _SAM3XA_SPI1_INSTANCE_ 34 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 35 #define REG_SPI1_CR (0x4000C000U) 36 #define REG_SPI1_MR (0x4000C004U) 37 #define REG_SPI1_RDR (0x4000C008U) 38 #define REG_SPI1_TDR (0x4000C00CU) 39 #define REG_SPI1_SR (0x4000C010U) 40 #define REG_SPI1_IER (0x4000C014U) 41 #define REG_SPI1_IDR (0x4000C018U) 42 #define REG_SPI1_IMR (0x4000C01CU) 43 #define REG_SPI1_CSR (0x4000C030U) 44 #define REG_SPI1_WPMR (0x4000C0E4U) 45 #define REG_SPI1_WPSR (0x4000C0E8U) 47 #define REG_SPI1_CR (*(WoReg*)0x4000C000U) 48 #define REG_SPI1_MR (*(RwReg*)0x4000C004U) 49 #define REG_SPI1_RDR (*(RoReg*)0x4000C008U) 50 #define REG_SPI1_TDR (*(WoReg*)0x4000C00CU) 51 #define REG_SPI1_SR (*(RoReg*)0x4000C010U) 52 #define REG_SPI1_IER (*(WoReg*)0x4000C014U) 53 #define REG_SPI1_IDR (*(WoReg*)0x4000C018U) 54 #define REG_SPI1_IMR (*(RoReg*)0x4000C01CU) 55 #define REG_SPI1_CSR (*(RwReg*)0x4000C030U) 56 #define REG_SPI1_WPMR (*(RwReg*)0x4000C0E4U) 57 #define REG_SPI1_WPSR (*(RoReg*)0x4000C0E8U)