123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- /**
- ******************************************************************************
- * @file stm32f2xx_crc.h
- * @author MCD Application Team
- * @version V1.1.3
- * @date 31-December-2021
- * @brief This file contains all the functions prototypes for the CRC firmware
- * library.
- ******************************************************************************
- * @attention
- *
- * Copyright (c) 2012 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.
- *
- ******************************************************************************
- */
- /* Define to prevent recursive inclusion -------------------------------------*/
- #ifndef __STM32F2xx_CRC_H
- #define __STM32F2xx_CRC_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* Includes ------------------------------------------------------------------*/
- #include "stm32f2xx.h"
- /** @addtogroup STM32F2xx_StdPeriph_Driver
- * @{
- */
- /** @addtogroup CRC
- * @{
- */
- /* Exported types ------------------------------------------------------------*/
- /* Exported constants --------------------------------------------------------*/
- /** @defgroup CRC_Exported_Constants
- * @{
- */
- /**
- * @}
- */
- /* Exported macro ------------------------------------------------------------*/
- /* Exported functions --------------------------------------------------------*/
- void CRC_ResetDR(void);
- uint32_t CRC_CalcCRC(uint32_t Data);
- uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength);
- uint32_t CRC_GetCRC(void);
- void CRC_SetIDRegister(uint8_t IDValue);
- uint8_t CRC_GetIDRegister(void);
- #ifdef __cplusplus
- }
- #endif
- #endif /* __STM32F2xx_CRC_H */
- /**
- * @}
- */
- /**
- * @}
- */
|