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 #419 background imageLoading...
Page #419 background image
UM1581
Serial peripheral interface (SPI)
DocID023800 Rev 1
419/584
20.2.8.4 SPI_I2S_ReceiveData16
Function Name
uint16_t SPI_I2S_ReceiveData16 ( SPI_TypeDef * SPIx)
Function Description
Returns the most recent received data by the SPIx peripheral.
Parameters
ï‚· SPIx : To select the SPIx/I2Sx peripheral, where x can be: 1,
2 or 3 in SPI mode or 2 or 3 in I2S mode or I2Sxext for I2S full
duplex mode.
Return values
ï‚· The value of the received data.
Notes
ï‚· None.
20.2.9 Hardware CRC Calculation functions
20.2.9.1 SPI_CRCLengthConfig
Function Name
void SPI_CRCLengthConfig ( SPI_TypeDef * SPIx, uint16_t
SPI_CRCLength)
Function Description
Configures the CRC calculation length for the selected SPI.
Parameters
ï‚· SPIx : where x can be 1, 2 or 3 to select the SPI peripheral.
ï‚· SPI_CRCLength : specifies the SPI CRC calculation length.
This parameter can be one of the following values:
 SPI_CRCLength_8b : Set CRC Calculation to 8 bits
 SPI_CRCLength_16b : Set CRC Calculation 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