stm32f10x_crc.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /**
  2. ******************************************************************************
  3. * @file stm32f10x_crc.h
  4. * @author MCD Application Team
  5. * @version V3.6.2
  6. * @date 17-September-2021
  7. * @brief This file contains all the functions prototypes for the CRC firmware
  8. * library.
  9. ******************************************************************************
  10. * @attention
  11. *
  12. * Copyright (c) 2012 STMicroelectronics.
  13. * All rights reserved.
  14. *
  15. * This software is licensed under terms that can be found in the LICENSE file
  16. * in the root directory of this software component.
  17. * If no LICENSE file comes with this software, it is provided AS-IS.
  18. *
  19. ******************************************************************************
  20. */
  21. /* Define to prevent recursive inclusion -------------------------------------*/
  22. #ifndef __STM32F10x_CRC_H
  23. #define __STM32F10x_CRC_H
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. /* Includes ------------------------------------------------------------------*/
  28. #include "stm32f10x.h"
  29. /** @addtogroup STM32F10x_StdPeriph_Driver
  30. * @{
  31. */
  32. /** @addtogroup CRC
  33. * @{
  34. */
  35. /** @defgroup CRC_Exported_Types
  36. * @{
  37. */
  38. /**
  39. * @}
  40. */
  41. /** @defgroup CRC_Exported_Constants
  42. * @{
  43. */
  44. /**
  45. * @}
  46. */
  47. /** @defgroup CRC_Exported_Macros
  48. * @{
  49. */
  50. /**
  51. * @}
  52. */
  53. /** @defgroup CRC_Exported_Functions
  54. * @{
  55. */
  56. void CRC_ResetDR(void);
  57. uint32_t CRC_CalcCRC(uint32_t Data);
  58. uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength);
  59. uint32_t CRC_GetCRC(void);
  60. void CRC_SetIDRegister(uint8_t IDValue);
  61. uint8_t CRC_GetIDRegister(void);
  62. #ifdef __cplusplus
  63. }
  64. #endif
  65. #endif /* __STM32F10x_CRC_H */
  66. /**
  67. * @}
  68. */
  69. /**
  70. * @}
  71. */
  72. /**
  73. * @}
  74. */