STM32F10x Standard Peripherals Library  3.5.0
/opt/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_crc.h
Go to the documentation of this file.
00001 
00023 /* Define to prevent recursive inclusion -------------------------------------*/
00024 #ifndef __STM32F10x_CRC_H
00025 #define __STM32F10x_CRC_H
00026 
00027 #ifdef __cplusplus
00028  extern "C" {
00029 #endif
00030 
00031 /* Includes ------------------------------------------------------------------*/
00032 #include "stm32f10x.h"
00033 
00070 void CRC_ResetDR(void);
00071 uint32_t CRC_CalcCRC(uint32_t Data);
00072 uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength);
00073 uint32_t CRC_GetCRC(void);
00074 void CRC_SetIDRegister(uint8_t IDValue);
00075 uint8_t CRC_GetIDRegister(void);
00076 
00077 #ifdef __cplusplus
00078 }
00079 #endif
00080 
00081 #endif /* __STM32F10x_CRC_H */
00082 
00094 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/