Serial peripheral interface (SPI)
ï€ Specifies the clock active edge for the bit capture. This parameter can be a value
of SPI_Clock_Phase
ï‚· uint16_t SPI_InitTypeDef::SPI_NSS
ï€ Specifies whether the NSS signal is managed by hardware (NSS pin) or by
software using the SSI bit. This parameter can be a value of
SPI_Slave_Select_management
ï‚· uint16_t SPI_InitTypeDef::SPI_BaudRatePrescaler
ï€ Specifies the Baud Rate prescaler value which will be used to configure the
transmit and receive SCK clock. This parameter can be a value of
SPI_BaudRate_Prescaler.
ï‚· uint16_t SPI_InitTypeDef::SPI_FirstBit
ï€ Specifies whether data transfers start from MSB or LSB bit. This parameter can
be a value of SPI_MSB_LSB_transmission
ï‚· uint16_t SPI_InitTypeDef::SPI_CRCPolynomial
ï€ Specifies the polynomial used for the CRC calculation.
20.1.3 I2S_InitTypeDef
I2S_InitTypeDef is defined in the stm32f30x_spi.h
Data Fields
ï‚· uint16_t I2S_Mode
ï‚· uint16_t I2S_Standard
ï‚· uint16_t I2S_DataFormat
ï‚· uint16_t I2S_MCLKOutput
ï‚· uint32_t I2S_AudioFreq
ï‚· uint16_t I2S_CPOL
Field Documentation
ï‚· uint16_t I2S_InitTypeDef::I2S_Mode
ï€ Specifies the I2S operating mode. This parameter can be a value of I2S_Mode
ï‚· uint16_t I2S_InitTypeDef::I2S_Standard
ï€ Specifies the standard used for the I2S communication. This parameter can be a
value of I2S_Standard
ï‚· uint16_t I2S_InitTypeDef::I2S_DataFormat
ï€ Specifies the data format for the I2S communication. This parameter can be a
value of I2S_Data_Format
ï‚· uint16_t I2S_InitTypeDef::I2S_MCLKOutput
ï€ Specifies whether the I2S MCLK output is enabled or not. This parameter can be
a value of I2S_MCLK_Output
ï‚· uint32_t I2S_InitTypeDef::I2S_AudioFreq
ï€ Specifies the frequency selected for the I2S communication. This parameter can
be a value of I2S_Audio_Frequency
ï‚· uint16_t I2S_InitTypeDef::I2S_CPOL
ï€ Specifies the idle state of the I2S clock. This parameter can be a value of
I2S_Clock_Polarity