00001 00029 /* Define to prevent recursive inclusion -------------------------------------*/ 00030 #ifndef __STM32F4xx_CRC_H 00031 #define __STM32F4xx_CRC_H 00032 00033 #ifdef __cplusplus 00034 extern "C" { 00035 #endif 00036 00037 /* Includes ------------------------------------------------------------------*/ 00038 #include "stm32f4xx.h" 00039 00048 /* Exported types ------------------------------------------------------------*/ 00049 /* Exported constants --------------------------------------------------------*/ 00050 00059 /* Exported macro ------------------------------------------------------------*/ 00060 /* Exported functions --------------------------------------------------------*/ 00061 00062 void CRC_ResetDR(void); 00063 uint32_t CRC_CalcCRC(uint32_t Data); 00064 uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength); 00065 uint32_t CRC_GetCRC(void); 00066 void CRC_SetIDRegister(uint8_t IDValue); 00067 uint8_t CRC_GetIDRegister(void); 00068 00069 #ifdef __cplusplus 00070 } 00071 #endif 00072 00073 #endif /* __STM32F4xx_CRC_H */ 00074 00083 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/