HAL CRC Generic Driver
HAL_CRC_MspDeInit
Function name
Function description
Parameters
Return values
HAL_CRC_Accumulate
Function name
Function description
Parameters
Return values
HAL_CRC_Calculate
Function name
Function description
Parameters
Return values
HAL_CRC_GetState
Function name
Function description
Parameters
Return values
134/1371
void HAL_CRC_MspDeInit (CRC_HandleTypeDef * hcrc)
DeInitializes the CRC MSP.
hcrc: pointer to a CRC_HandleTypeDef structure that
contains the configuration information for CRC
None:
uint32_t HAL_CRC_Accumulate (CRC_HandleTypeDef * hcrc,
uint32_t pBuffer, uint32_t BufferLength)
Computes the 32-bit CRC of 32-bit data buffer using combination
of the previous CRC value and the new one.
hcrc: pointer to a CRC_HandleTypeDef structure that
contains the configuration information for CRC
pBuffer: pointer to the buffer containing the data to be
computed
BufferLength: length of the buffer to be computed
32-bit: CRC
uint32_t HAL_CRC_Calculate (CRC_HandleTypeDef * hcrc,
uint32_t pBuffer, uint32_t BufferLength)
Computes the 32-bit CRC of 32-bit data buffer independently of
the previous CRC value.
hcrc: pointer to a CRC_HandleTypeDef structure that
contains the configuration information for CRC
pBuffer: Pointer to the buffer containing the data to be
computed
BufferLength: Length of the buffer to be computed
32-bit: CRC
HAL_CRC_StateTypeDef HAL_CRC_GetState
(CRC_HandleTypeDef * hcrc)
Returns the CRC state.
hcrc: pointer to a CRC_HandleTypeDef structure that
contains the configuration information for CRC
HAL: state
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers