Peripheral Control Functions; Peripheral State Functions; Detailed Description Of Functions - ST STM32F2 User Manual

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

Advertisement

UM1940
10.2.3

Peripheral Control functions

This section provides functions allowing to:
Compute the 32-bit CRC value of 32-bit data buffer, using combination of the previous
CRC value and the new one.
Compute the 32-bit CRC value of 32-bit data buffer, independently of the previous
CRC value.
This section contains the following APIs:
HAL_CRC_Accumulate()
HAL_CRC_Calculate()
10.2.4

Peripheral State functions

This subsection permits to get in run-time the status of the peripheral and the data flow.
This section contains the following APIs:
HAL_CRC_GetState()
10.2.5

Detailed description of functions

HAL_CRC_Init
Function name
Function description
Parameters
Return values
HAL_CRC_DeInit
Function name
Function description
Parameters
Return values
HAL_CRC_MspInit
Function name
Function description
Parameters
Return values
HAL_StatusTypeDef HAL_CRC_Init (CRC_HandleTypeDef *
hcrc)
Initializes the CRC according to the specified parameters in the
CRC_InitTypeDef and creates the associated handle.
hcrc: pointer to a CRC_HandleTypeDef structure that
contains the configuration information for CRC
HAL: status
HAL_StatusTypeDef HAL_CRC_DeInit (CRC_HandleTypeDef *
hcrc)
DeInitializes the CRC peripheral.
hcrc: pointer to a CRC_HandleTypeDef structure that
contains the configuration information for CRC
HAL: status
void HAL_CRC_MspInit (CRC_HandleTypeDef * hcrc)
Initializes the CRC MSP.
hcrc: pointer to a CRC_HandleTypeDef structure that
contains the configuration information for CRC
None:
DocID028236 Rev 2
HAL CRC Generic Driver
133/1371

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