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
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_CRC_DeInit
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_CRC_MspInit
void HAL_CRC_MspInit (CRC_HandleTypeDef * hcrc)
hcrc: pointer to a CRC_HandleTypeDef structure that
contains the configuration information for CRC