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