57#ifdef HAL_CRC_MODULE_ENABLED
236 for (index = 0U; index < BufferLength; index++)
238 hcrc->
Instance->DR = pBuffer[index];
270 for (index = 0U; index < BufferLength; index++)
272 hcrc->
Instance->DR = pBuffer[index];
HAL_StatusTypeDef HAL_CRC_Init(CRC_HandleTypeDef *hcrc)
void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc)
void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc)
HAL_StatusTypeDef HAL_CRC_DeInit(CRC_HandleTypeDef *hcrc)
uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, const uint32_t pBuffer[], uint32_t BufferLength)
uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, const uint32_t pBuffer[], uint32_t BufferLength)
HAL_CRC_StateTypeDef HAL_CRC_GetState(const CRC_HandleTypeDef *hcrc)
#define __HAL_CRC_DR_RESET(__HANDLE__)
Reset CRC Data Register.
#define __HAL_CRC_SET_IDR(__HANDLE__, __VALUE__)
Store data in the Independent Data (ID) register.
HAL_CRC_StateTypeDef
CRC HAL State Structure definition.
#define assert_param(expr)
This file contains all the functions prototypes for the HAL module driver.
HAL_StatusTypeDef
HAL Status structures definition.
#define __HAL_UNLOCK(__HANDLE__)
CRC Handle Structure definition.
volatile HAL_CRC_StateTypeDef State