30 #ifndef _SAM3XA_SPI0_INSTANCE_ 31 #define _SAM3XA_SPI0_INSTANCE_ 34 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 35 #define REG_SPI0_CR (0x40008000U) 36 #define REG_SPI0_MR (0x40008004U) 37 #define REG_SPI0_RDR (0x40008008U) 38 #define REG_SPI0_TDR (0x4000800CU) 39 #define REG_SPI0_SR (0x40008010U) 40 #define REG_SPI0_IER (0x40008014U) 41 #define REG_SPI0_IDR (0x40008018U) 42 #define REG_SPI0_IMR (0x4000801CU) 43 #define REG_SPI0_CSR (0x40008030U) 44 #define REG_SPI0_WPMR (0x400080E4U) 45 #define REG_SPI0_WPSR (0x400080E8U) 47 #define REG_SPI0_CR (*(WoReg*)0x40008000U) 48 #define REG_SPI0_MR (*(RwReg*)0x40008004U) 49 #define REG_SPI0_RDR (*(RoReg*)0x40008008U) 50 #define REG_SPI0_TDR (*(WoReg*)0x4000800CU) 51 #define REG_SPI0_SR (*(RoReg*)0x40008010U) 52 #define REG_SPI0_IER (*(WoReg*)0x40008014U) 53 #define REG_SPI0_IDR (*(WoReg*)0x40008018U) 54 #define REG_SPI0_IMR (*(RoReg*)0x4000801CU) 55 #define REG_SPI0_CSR (*(RwReg*)0x40008030U) 56 #define REG_SPI0_WPMR (*(RwReg*)0x400080E4U) 57 #define REG_SPI0_WPSR (*(RoReg*)0x400080E8U)