EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 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 #134 background imageLoading...
Page #134 background image
HAL CRC Generic Driver
UM1940
134/1371
DocID028236 Rev 2
HAL_CRC_MspDeInit
Function name
void HAL_CRC_MspDeInit (CRC_HandleTypeDef * hcrc)
Function description
DeInitializes the CRC MSP.
Parameters
hcrc: pointer to a CRC_HandleTypeDef structure that
contains the configuration information for CRC
Return values
None:
HAL_CRC_Accumulate
Function name
uint32_t HAL_CRC_Accumulate (CRC_HandleTypeDef * hcrc,
uint32_t pBuffer, uint32_t BufferLength)
Function description
Computes the 32-bit CRC of 32-bit data buffer using combination
of the previous CRC value and the new one.
Parameters
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
Return values
32-bit: CRC
HAL_CRC_Calculate
Function name
uint32_t HAL_CRC_Calculate (CRC_HandleTypeDef * hcrc,
uint32_t pBuffer, uint32_t BufferLength)
Function description
Computes the 32-bit CRC of 32-bit data buffer independently of
the previous CRC value.
Parameters
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
Return values
32-bit: CRC
HAL_CRC_GetState
Function name
HAL_CRC_StateTypeDef HAL_CRC_GetState
(CRC_HandleTypeDef * hcrc)
Function description
Returns the CRC state.
Parameters
hcrc: pointer to a CRC_HandleTypeDef structure that
contains the configuration information for CRC
Return values
HAL: state

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals