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 #156 background imageLoading...
Page #156 background image
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

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