EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #414 background imageLoading...
Page #414 background image
Serial peripheral interface (SPI)
UM1581
414/584
DocID023800 Rev 1
20.2.7.8 I2S_Cmd
Function Name
void I2S_Cmd ( SPI_TypeDef * SPIx, FunctionalState
NewState)
Function Description
Enables or disables the specified SPI peripheral (in I2S mode).
Parameters
ï‚· 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.
Return values
ï‚· None.
Notes
ï‚· None.
20.2.7.9 SPI_DataSizeConfig
Function Name
void SPI_DataSizeConfig ( SPI_TypeDef * SPIx, uint16_t
SPI_DataSize)
Function Description
Configures the data size for the selected SPI.
Parameters
ï‚· 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
Return values
ï‚· None.
Notes
ï‚· None.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals