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 #412 background imageLoading...
Page #412 background image
Serial peripheral interface (SPI)
UM1581
412/584
DocID023800 Rev 1
SPI_InitStruct)
Function Description
Initializes the SPIx peripheral according to the specified
parameters in the SPI_InitStruct.
Parameters
ï‚· SPIx : where x can be 1, 2 or 3 to select the SPI peripheral.
ï‚· SPI_InitStruct : pointer to a SPI_InitTypeDef structure that
contains the configuration information for the specified SPI
peripheral.
Return values
ï‚· None.
Notes
ï‚· None.
20.2.7.4 I2S_StructInit
Function Name
void I2S_StructInit ( I2S_InitTypeDef * I2S_InitStruct)
Function Description
Fills each I2S_InitStruct member with its default value.
Parameters
ï‚· I2S_InitStruct : : pointer to a I2S_InitTypeDef structure
which will be initialized.
Return values
ï‚· None.
Notes
ï‚· None.
20.2.7.5 I2S_Init
Function Name
void I2S_Init ( SPI_TypeDef * SPIx, I2S_InitTypeDef *
I2S_InitStruct)
Function Description
Initializes the SPIx peripheral according to the specified
parameters in the I2S_InitStruct.
Parameters
ï‚· SPIx:To : select the SPIx peripheral, where x can be: 2 or 3
in I2S mode.
ï‚· I2S_InitStruct : pointer to an I2S_InitTypeDef structure that
contains the configuration information for the specified SPI
peripheral configured in I2S mode.
Return values
ï‚· None.
Notes
ï‚· The function calculates the optimal prescaler needed to
obtain the most accurate audio frequency (depending on the
I2S clock source, the PLL values and the product

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