stm32f10x_crc.h
Go to the documentation of this file.
1 
23 /* Define to prevent recursive inclusion -------------------------------------*/
24 #ifndef __STM32F10x_CRC_H
25 #define __STM32F10x_CRC_H
26 
27 #ifdef __cplusplus
28  extern "C" {
29 #endif
30 
31 /* Includes ------------------------------------------------------------------*/
32 #include "stm32f10x.h"
33 
70 void CRC_ResetDR(void);
71 uint32_t CRC_CalcCRC(uint32_t Data);
72 uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength);
73 uint32_t CRC_GetCRC(void);
74 void CRC_SetIDRegister(uint8_t IDValue);
75 uint8_t CRC_GetIDRegister(void);
76 
77 #ifdef __cplusplus
78 }
79 #endif
80 
81 #endif /* __STM32F10x_CRC_H */
82 
94 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
void CRC_SetIDRegister(uint8_t IDValue)
Stores a 8-bit data in the Independent Data(ID) register.
void CRC_ResetDR(void)
Resets the CRC Data register (DR).
Definition: stm32f4xx_crc.c:56
CMSIS Cortex-M3 Device Peripheral Access Layer Header File. This file contains all the peripheral reg...
uint32_t CRC_GetCRC(void)
Returns the current CRC value.
Definition: stm32f4xx_crc.c:96
uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength)
Computes the 32-bit CRC of a given buffer of data word(32-bit).
Definition: stm32f4xx_crc.c:80
uint8_t CRC_GetIDRegister(void)
Returns the 8-bit data stored in the Independent Data(ID) register.
uint32_t CRC_CalcCRC(uint32_t Data)
Computes the 32-bit CRC of a given data word(32-bit).
Definition: stm32f4xx_crc.c:67


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:25