EasyManua.ls Logo

ST STM32F31xx

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...
CRC calculation unit (CRC)
UM1581
156/584
DocID023800 Rev 1
6.2.5.7 CRC_SetPolynomial
Function Name
void CRC_SetPolynomial ( uint32_t CRC_Pol)
Function Description
Initializes the polynomail coefficients.
Parameters
CRC_Pol : Polynomial to be used for CRC calculation.
Return values
None.
Notes
None.
6.2.6 CRC computation of one/many 32-bit data functions
6.2.6.1 CRC_CalcCRC
Function Name
uint32_t CRC_CalcCRC ( uint32_t CRC_Data)
Function Description
Computes the 32-bit CRC of a given data word(32-bit).
Parameters
CRC_Data : data word(32-bit) to compute its CRC
Return values
32-bit CRC
Notes
None.
6.2.6.2 CRC_CalcCRC16bits
Function Name
uint32_t CRC_CalcCRC16bits ( uint16_t CRC_Data)
Function Description
Computes the 16-bit CRC of a given 16-bit data.
Parameters
CRC_Data : data half-word(16-bit) to compute its CRC
Return values
16-bit CRC
Notes
None.

Table of Contents

Related product manuals