2 ******************************************************************************
3 * @file stm32f10x_crc.h
4 * @author MCD Application Team
7 * @brief This file contains all the functions prototypes for the CRC firmware
9 ******************************************************************************
12 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
13 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
14 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
15 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
16 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
17 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
19 * <h2><center>© COPYRIGHT 2011 STMicroelectronics</center></h2>
20 ******************************************************************************
23 /* Define to prevent recursive inclusion -------------------------------------*/
24 #ifndef __STM32F10x_CRC_H
25 #define __STM32F10x_CRC_H
31 /* Includes ------------------------------------------------------------------*/
32 #include "stm32f10x.h"
34 /** @addtogroup STM32F10x_StdPeriph_Driver
42 /** @defgroup CRC_Exported_Types
50 /** @defgroup CRC_Exported_Constants
58 /** @defgroup CRC_Exported_Macros
66 /** @defgroup CRC_Exported_Functions
70 void CRC_ResetDR(void);
71 uint32_t CRC_CalcCRC(uint32_t Data
);
72 uint32_t CRC_CalcBlockCRC(uint32_t pBuffer
[], uint32_t BufferLength
);
73 uint32_t CRC_GetCRC(void);
74 void CRC_SetIDRegister(uint8_t IDValue
);
75 uint8_t CRC_GetIDRegister(void);
81 #endif /* __STM32F10x_CRC_H */
94 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/