Spi_Inittypedef - ST STM32F31xx User Manual

Table of Contents

Advertisement

Serial peripheral interface (SPI)
uint16_t SPI_TypeDef::RESERVED4
__IO uint16_t SPI_TypeDef::RXCRCR
uint16_t SPI_TypeDef::RESERVED5
__IO uint16_t SPI_TypeDef::TXCRCR
uint16_t SPI_TypeDef::RESERVED6
__IO uint16_t SPI_TypeDef::I2SCFGR
uint16_t SPI_TypeDef::RESERVED7
__IO uint16_t SPI_TypeDef::I2SPR
uint16_t SPI_TypeDef::RESERVED8
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
uint16_t SPI_InitTypeDef::SPI_Mode
uint16_t SPI_InitTypeDef::SPI_DataSize
uint16_t SPI_InitTypeDef::SPI_CPOL
uint16_t SPI_InitTypeDef::SPI_CPHA
404/584
Reserved, 0x12
SPI Rx CRC register (not used in I2S mode), Address offset: 0x14
Reserved, 0x16
SPI Tx CRC register (not used in I2S mode), Address offset: 0x18
Reserved, 0x1A
SPI_I2S configuration register, Address offset: 0x1C
Reserved, 0x1E
SPI_I2S prescaler register, Address offset: 0x20
Reserved, 0x22
Specifies the SPI unidirectional or bidirectional data mode. This parameter can
be a value of
SPI_data_direction
Specifies the SPI mode (Master/Slave). This parameter can be a value of
SPI_mode
Specifies the SPI data size. This parameter can be a value of
Specifies the serial clock steady state. This parameter can be a value of
SPI_Clock_Polarity
DocID023800 Rev 1
UM1581
SPI_data_size

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F31xx and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f30xx

Table of Contents