Serial peripheral interface (SPI)
ï‚· void SPI_I2S_DMACmd(SPI_TypeDef* SPIx, uint16_t SPI_I2S_DMAReq,
FunctionalState NewState);
ï‚· SPI_I2S_ITConfig()
ï‚· SPI_GetTransmissionFIFOStatus()
ï‚· SPI_GetReceptionFIFOStatus()
ï‚· SPI_I2S_GetFlagStatus()
ï‚· SPI_I2S_ClearFlag()
ï‚· SPI_I2S_GetITStatus()
20.2.7 Initialization and configuration functions
20.2.7.1 SPI_I2S_DeInit
void SPI_I2S_DeInit ( SPI_TypeDef * SPIx)
Deinitializes the SPIx peripheral registers to their default reset
values.
ï‚· SPIx : To select the SPIx peripheral, where x can be: 1, 2 or
3 in SPI mode.
20.2.7.2 SPI_StructInit
void SPI_StructInit ( SPI_InitTypeDef * SPI_InitStruct)
Fills each SPI_InitStruct member with its default value.
ï‚· SPI_InitStruct : pointer to a SPI_InitTypeDef structure which
will be initialized.
20.2.7.3 SPI_Init
void SPI_Init ( SPI_TypeDef * SPIx, SPI_InitTypeDef *