amiro-blt / Target / Demo / ARMCM4_STM32F405_Power_Management_GCC / Boot / lib / stdperiphlib / STM32F4xx_StdPeriph_Driver / inc / stm32f4xx_crc.h @ 69661903
History | View | Annotate | Download (2.36 KB)
| 1 |
/**
|
|---|---|
| 2 |
******************************************************************************
|
| 3 |
* @file stm32f4xx_crc.h
|
| 4 |
* @author MCD Application Team
|
| 5 |
* @version V1.1.0
|
| 6 |
* @date 11-January-2013
|
| 7 |
* @brief This file contains all the functions prototypes for the CRC firmware
|
| 8 |
* library.
|
| 9 |
******************************************************************************
|
| 10 |
* @attention
|
| 11 |
*
|
| 12 |
* <h2><center>© COPYRIGHT 2013 STMicroelectronics</center></h2>
|
| 13 |
*
|
| 14 |
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
|
| 15 |
* You may not use this file except in compliance with the License.
|
| 16 |
* You may obtain a copy of the License at:
|
| 17 |
*
|
| 18 |
* http://www.st.com/software_license_agreement_liberty_v2
|
| 19 |
*
|
| 20 |
* Unless required by applicable law or agreed to in writing, software
|
| 21 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
| 22 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 23 |
* See the License for the specific language governing permissions and
|
| 24 |
* limitations under the License.
|
| 25 |
*
|
| 26 |
******************************************************************************
|
| 27 |
*/
|
| 28 |
|
| 29 |
/* Define to prevent recursive inclusion -------------------------------------*/
|
| 30 |
#ifndef __STM32F4xx_CRC_H
|
| 31 |
#define __STM32F4xx_CRC_H
|
| 32 |
|
| 33 |
#ifdef __cplusplus
|
| 34 |
extern "C" { |
| 35 |
#endif
|
| 36 |
|
| 37 |
/* Includes ------------------------------------------------------------------*/
|
| 38 |
#include "stm32f4xx.h" |
| 39 |
|
| 40 |
/** @addtogroup STM32F4xx_StdPeriph_Driver
|
| 41 |
* @{
|
| 42 |
*/
|
| 43 |
|
| 44 |
/** @addtogroup CRC
|
| 45 |
* @{
|
| 46 |
*/
|
| 47 |
|
| 48 |
/* Exported types ------------------------------------------------------------*/
|
| 49 |
/* Exported constants --------------------------------------------------------*/
|
| 50 |
|
| 51 |
/** @defgroup CRC_Exported_Constants
|
| 52 |
* @{
|
| 53 |
*/
|
| 54 |
|
| 55 |
/**
|
| 56 |
* @}
|
| 57 |
*/
|
| 58 |
|
| 59 |
/* Exported macro ------------------------------------------------------------*/
|
| 60 |
/* Exported functions --------------------------------------------------------*/
|
| 61 |
|
| 62 |
void CRC_ResetDR(void); |
| 63 |
uint32_t CRC_CalcCRC(uint32_t Data); |
| 64 |
uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength); |
| 65 |
uint32_t CRC_GetCRC(void);
|
| 66 |
void CRC_SetIDRegister(uint8_t IDValue);
|
| 67 |
uint8_t CRC_GetIDRegister(void);
|
| 68 |
|
| 69 |
#ifdef __cplusplus
|
| 70 |
} |
| 71 |
#endif
|
| 72 |
|
| 73 |
#endif /* __STM32F4xx_CRC_H */ |
| 74 |
|
| 75 |
/**
|
| 76 |
* @}
|
| 77 |
*/
|
| 78 |
|
| 79 |
/**
|
| 80 |
* @}
|
| 81 |
*/
|
| 82 |
|
| 83 |
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|