STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Header file of CRC HAL module. More...
#include "stm32f4xx_hal_def.h"
Go to the source code of this file.
Data Structures | |
struct | CRC_HandleTypeDef |
CRC Handle Structure definition. More... | |
Macros | |
#define | __HAL_CRC_RESET_HANDLE_STATE(__HANDLE__) |
Reset CRC handle state. | |
#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. | |
#define | __HAL_CRC_GET_IDR(__HANDLE__) |
Return the data stored in the Independent Data (ID) register. | |
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. | |
HAL_StatusTypeDef | HAL_CRC_DeInit (CRC_HandleTypeDef *hcrc) |
DeInitialize the CRC peripheral. | |
void | HAL_CRC_MspInit (CRC_HandleTypeDef *hcrc) |
Initializes the CRC MSP. | |
void | HAL_CRC_MspDeInit (CRC_HandleTypeDef *hcrc) |
DeInitialize the CRC MSP. | |
uint32_t | HAL_CRC_Accumulate (CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) |
Compute the 32-bit CRC value of a 32-bit data buffer starting with the previously computed CRC as initialization value. | |
uint32_t | HAL_CRC_Calculate (CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) |
Compute the 32-bit CRC value of a 32-bit data buffer starting with hcrc->Instance->INIT as initialization value. | |
HAL_CRC_StateTypeDef | HAL_CRC_GetState (const CRC_HandleTypeDef *hcrc) |
Return the CRC handle state. | |
Header file of CRC HAL module.
Copyright (c) 2016 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32f4xx_hal_crc.h.