STM32F0 Standard Peripheral bibliotheek  1.0
ST Microelectronics standard peripheral bibliotheek documentatie voor de STM32F0 familie
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
CRC computation of one/many 32-bit data functions

CRC computation of one/many 32-bit data functions. More...

Functions

uint32_t CRC_CalcCRC (uint32_t CRC_Data)
 Computes the 32-bit CRC of a given data word(32-bit). More...
 
uint32_t CRC_CalcBlockCRC (uint32_t pBuffer[], uint32_t BufferLength)
 Computes the 32-bit CRC of a given buffer of data word(32-bit). More...
 
uint32_t CRC_GetCRC (void)
 Returns the current CRC value. More...
 

Detailed Description

CRC computation of one/many 32-bit data functions.

 ===============================================================================
                     ##### CRC computation functions #####
 ===============================================================================

Function Documentation

uint32_t CRC_CalcBlockCRC ( uint32_t  pBuffer[],
uint32_t  BufferLength 
)

Computes the 32-bit CRC of a given buffer of data word(32-bit).

Parameters
pBuffer,:pointer to the buffer containing the data to be computed
BufferLength,:length of the buffer to be computed
Return values
32-bitCRC
uint32_t CRC_CalcCRC ( uint32_t  CRC_Data)

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-bitCRC
uint32_t CRC_GetCRC ( void  )

Returns the current CRC value.

Parameters
None
Return values
32-bitCRC