EasyManua.ls Logo

ST STM32F31xx - Hardware CRC Calculation Functions

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
Loading...
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

Related product manuals