2 ******************************************************************************
\r
3 * @file stm32l1xx_crc.h
\r
4 * @author MCD Application Team
\r
6 * @date 05-March-2012
\r
7 * @brief This file contains all the functions prototypes for the CRC firmware
\r
9 ******************************************************************************
\r
12 * <h2><center>© COPYRIGHT 2012 STMicroelectronics</center></h2>
\r
14 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
\r
15 * You may not use this file except in compliance with the License.
\r
16 * You may obtain a copy of the License at:
\r
18 * http://www.st.com/software_license_agreement_liberty_v2
\r
20 * Unless required by applicable law or agreed to in writing, software
\r
21 * distributed under the License is distributed on an "AS IS" BASIS,
\r
22 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
23 * See the License for the specific language governing permissions and
\r
24 * limitations under the License.
\r
26 ******************************************************************************
\r
29 /* Define to prevent recursive inclusion -------------------------------------*/
\r
30 #ifndef __STM32L1xx_CRC_H
\r
31 #define __STM32L1xx_CRC_H
\r
37 /* Includes ------------------------------------------------------------------*/
\r
38 #include "stm32l1xx.h"
\r
40 /** @addtogroup STM32L1xx_StdPeriph_Driver
\r
48 /* Exported types ------------------------------------------------------------*/
\r
49 /* Exported constants --------------------------------------------------------*/
\r
51 /** @defgroup CRC_Exported_Constants
\r
59 /* Exported macro ------------------------------------------------------------*/
\r
60 /* Exported functions ------------------------------------------------------- */
\r
62 void CRC_ResetDR(void);
\r
63 uint32_t CRC_CalcCRC(uint32_t Data);
\r
64 uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength);
\r
65 uint32_t CRC_GetCRC(void);
\r
66 void CRC_SetIDRegister(uint8_t IDValue);
\r
67 uint8_t CRC_GetIDRegister(void);
\r
73 #endif /* __STM32L1xx_CRC_H */
\r
83 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
\r