Hal_Crc_Mspdeinit; Hal_Crc_Accumulate; Hal_Crc_Calculate; Hal_Crc_Getstate - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF