Serial peripheral interface (SPI)
20 Serial peripheral interface (SPI)
20.1 SPI Firmware driver registers structures
20.1.1 SPI_TypeDef
SPI_TypeDef is defined in the stm32f30x.h
Data Fields
__IO uint16_t CR1
uint16_t RESERVED0
__IO uint16_t CR2
uint16_t RESERVED1
__IO uint16_t SR
uint16_t RESERVED2
__IO uint16_t DR
uint16_t RESERVED3
__IO uint16_t CRCPR
uint16_t RESERVED4
__IO uint16_t RXCRCR
uint16_t RESERVED5
__IO uint16_t TXCRCR
uint16_t RESERVED6
__IO uint16_t I2SCFGR
uint16_t RESERVED7
__IO uint16_t I2SPR
uint16_t RESERVED8
Field Documentation
__IO uint16_t SPI_TypeDef::CR1
SPI Control register 1 (not used in I2S mode), Address offset: 0x00
uint16_t SPI_TypeDef::RESERVED0
Reserved, 0x02
__IO uint16_t SPI_TypeDef::CR2
SPI Control register 2, Address offset: 0x04
uint16_t SPI_TypeDef::RESERVED1
Reserved, 0x06
__IO uint16_t SPI_TypeDef::SR
SPI Status register, Address offset: 0x08
uint16_t SPI_TypeDef::RESERVED2
Reserved, 0x0A
__IO uint16_t SPI_TypeDef::DR
SPI data register, Address offset: 0x0C
uint16_t SPI_TypeDef::RESERVED3
Reserved, 0x0E
__IO uint16_t SPI_TypeDef::CRCPR
SPI CRC polynomial register (not used in I2S mode), Address offset: 0x10