ï‚· SPIx:To : select the SPIx peripheral, where x can be: 2 or 3
in I2S mode or I2Sxext for I2S full duplex mode.
ï‚· NewState : new state of the SPIx peripheral. This parameter
can be: ENABLE or DISABLE.
ï‚· SPIx : where x can be 1, 2 or 3 to select the SPI peripheral.
ï‚· SPI_DataSize : specifies the SPI data size. For the SPIx
peripheral this parameter can be one of the following values:
ï€ SPI_DataSize_4b : Set data size to 4 bits
ï€ SPI_DataSize_5b : Set data size to 5 bits
ï€ SPI_DataSize_6b : Set data size to 6 bits
ï€ SPI_DataSize_7b : Set data size to 7 bits
ï€ SPI_DataSize_8b : Set data size to 8 bits
ï€ SPI_DataSize_9b : Set data size to 9 bits
ï€ SPI_DataSize_10b : Set data size to 10 bits
ï€ SPI_DataSize_11b : Set data size to 11 bits
ï€ SPI_DataSize_12b : Set data size to 12 bits
ï€ SPI_DataSize_13b : Set data size to 13 bits
ï€ SPI_DataSize_14b : Set data size to 14 bits
ï€ SPI_DataSize_15b : Set data size to 15 bits
ï€ SPI_DataSize_16b : Set data size to 16 bits