Serial peripheral interface (SPI)
uint16_t SPI_TypeDef::RESERVED4
Reserved, 0x12
__IO uint16_t SPI_TypeDef::RXCRCR
SPI Rx CRC register (not used in I2S mode), Address offset: 0x14
uint16_t SPI_TypeDef::RESERVED5
Reserved, 0x16
__IO uint16_t SPI_TypeDef::TXCRCR
SPI Tx CRC register (not used in I2S mode), Address offset: 0x18
uint16_t SPI_TypeDef::RESERVED6
Reserved, 0x1A
__IO uint16_t SPI_TypeDef::I2SCFGR
SPI_I2S configuration register, Address offset: 0x1C
uint16_t SPI_TypeDef::RESERVED7
Reserved, 0x1E
__IO uint16_t SPI_TypeDef::I2SPR
SPI_I2S prescaler register, Address offset: 0x20
uint16_t SPI_TypeDef::RESERVED8
Reserved, 0x22
20.1.2 SPI_InitTypeDef
SPI_InitTypeDef is defined in the stm32f30x_spi.h
Data Fields
uint16_t SPI_Direction
uint16_t SPI_Mode
uint16_t SPI_DataSize
uint16_t SPI_CPOL
uint16_t SPI_CPHA
uint16_t SPI_NSS
uint16_t SPI_BaudRatePrescaler
uint16_t SPI_FirstBit
uint16_t SPI_CRCPolynomial
Field Documentation
uint16_t SPI_InitTypeDef::SPI_Direction
Specifies the SPI unidirectional or bidirectional data mode. This parameter can
be a value of SPI_data_direction
uint16_t SPI_InitTypeDef::SPI_Mode
Specifies the SPI mode (Master/Slave). This parameter can be a value of
SPI_mode
uint16_t SPI_InitTypeDef::SPI_DataSize
Specifies the SPI data size. This parameter can be a value of SPI_data_size
uint16_t SPI_InitTypeDef::SPI_CPOL
Specifies the serial clock steady state. This parameter can be a value of
SPI_Clock_Polarity
uint16_t SPI_InitTypeDef::SPI_CPHA