A bundled STM32F10x Std Periph and CMSIS library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

stm32f10x_crc.h 2.1 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /**
  2. ******************************************************************************
  3. * @file stm32f10x_crc.h
  4. * @author MCD Application Team
  5. * @version V3.5.0
  6. * @date 11-March-2011
  7. * @brief This file contains all the functions prototypes for the CRC firmware
  8. * library.
  9. ******************************************************************************
  10. * @attention
  11. *
  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.
  18. *
  19. * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
  20. ******************************************************************************
  21. */
  22. /* Define to prevent recursive inclusion -------------------------------------*/
  23. #ifndef __STM32F10x_CRC_H
  24. #define __STM32F10x_CRC_H
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28. /* Includes ------------------------------------------------------------------*/
  29. #include "stm32f10x.h"
  30. #include "stm32f10x_assert.h"
  31. /** @addtogroup STM32F10x_StdPeriph_Driver
  32. * @{
  33. */
  34. /** @addtogroup CRC
  35. * @{
  36. */
  37. /** @defgroup CRC_Exported_Types
  38. * @{
  39. */
  40. /**
  41. * @}
  42. */
  43. /** @defgroup CRC_Exported_Constants
  44. * @{
  45. */
  46. /**
  47. * @}
  48. */
  49. /** @defgroup CRC_Exported_Macros
  50. * @{
  51. */
  52. /**
  53. * @}
  54. */
  55. /** @defgroup CRC_Exported_Functions
  56. * @{
  57. */
  58. void CRC_ResetDR(void);
  59. uint32_t CRC_CalcCRC(uint32_t Data);
  60. uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength);
  61. uint32_t CRC_GetCRC(void);
  62. void CRC_SetIDRegister(uint8_t IDValue);
  63. uint8_t CRC_GetIDRegister(void);
  64. #ifdef __cplusplus
  65. }
  66. #endif
  67. #endif /* __STM32F10x_CRC_H */
  68. /**
  69. * @}
  70. */
  71. /**
  72. * @}
  73. */
  74. /**
  75. * @}
  76. */
  77. /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/