typedef struct { ... __IO uint32_t IFCR; uint32_t RESERVED0; union { __IO uint32_t u32; __IO uint16_t u16; __IO uint8_t u8; } TXDR; uint32_t RESERVED1[3]; ... } SPI_TypeDef;