STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_hal_crc.h File Reference

Header file of CRC HAL module. More...

Go to the source code of this file.

Data Structures

struct  CRC_InitTypeDef
 CRC Init Structure definition. More...
 
struct  CRC_HandleTypeDef
 CRC Handle Structure definition. More...
 

Enumerations

enum  HAL_CRC_StateTypeDef {
  HAL_CRC_STATE_RESET = 0x00U, HAL_CRC_STATE_READY = 0x01U, HAL_CRC_STATE_BUSY = 0x02U, HAL_CRC_STATE_TIMEOUT = 0x03U,
  HAL_CRC_STATE_ERROR = 0x04U
}
 CRC HAL State Structure definition. More...
 

Functions

HAL_StatusTypeDef HAL_CRC_Init (CRC_HandleTypeDef *hcrc)
 Initialize the CRC according to the specified parameters in the CRC_InitTypeDef and create the associated handle. More...
 
HAL_StatusTypeDef HAL_CRC_DeInit (CRC_HandleTypeDef *hcrc)
 DeInitialize the CRC peripheral. More...
 
void HAL_CRC_MspInit (CRC_HandleTypeDef *hcrc)
 Initializes the CRC MSP. More...
 
void HAL_CRC_MspDeInit (CRC_HandleTypeDef *hcrc)
 DeInitialize the CRC MSP. More...
 
uint32_t HAL_CRC_Accumulate (CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength)
 Compute the 7, 8, 16 or 32-bit CRC value of an 8, 16 or 32-bit data buffer starting with the previously computed CRC as initialization value. More...
 
uint32_t HAL_CRC_Calculate (CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength)
 Compute the 7, 8, 16 or 32-bit CRC value of an 8, 16 or 32-bit data buffer starting with hcrc->Instance->INIT as initialization value. More...
 
HAL_CRC_StateTypeDef HAL_CRC_GetState (CRC_HandleTypeDef *hcrc)
 Return the CRC handle state. More...
 

Detailed Description

Header file of CRC HAL module.

Author
MCD Application Team
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_hal_crc.h.