STM32F10x Standard Peripherals Library
3.5.0
|
Functions | |
void | CRC_ResetDR (void) |
Resets the CRC Data register (DR). | |
uint32_t | CRC_CalcCRC (uint32_t Data) |
Computes the 32-bit CRC of a given data word(32-bit). | |
uint32_t | CRC_CalcBlockCRC (uint32_t pBuffer[], uint32_t BufferLength) |
Computes the 32-bit CRC of a given buffer of data word(32-bit). | |
uint32_t | CRC_GetCRC (void) |
Returns the current CRC value. | |
void | CRC_SetIDRegister (uint8_t IDValue) |
Stores a 8-bit data in the Independent Data(ID) register. | |
uint8_t | CRC_GetIDRegister (void) |
Returns the 8-bit data stored in the Independent Data(ID) register. |
uint32_t CRC_CalcBlockCRC | ( | uint32_t | pBuffer[], |
uint32_t | BufferLength | ||
) |
Computes the 32-bit CRC of a given buffer of data word(32-bit).
pBuffer,: | pointer to the buffer containing the data to be computed |
BufferLength,: | length of the buffer to be computed |
32-bit | CRC |
Definition at line 107 of file stm32f10x_crc.c.
uint32_t CRC_CalcCRC | ( | uint32_t | Data | ) |
Computes the 32-bit CRC of a given data word(32-bit).
Data,: | data word(32-bit) to compute its CRC |
32-bit | CRC |
Definition at line 94 of file stm32f10x_crc.c.
uint32_t CRC_GetCRC | ( | void | ) |
Returns the current CRC value.
None |
32-bit | CRC |
Definition at line 123 of file stm32f10x_crc.c.
uint8_t CRC_GetIDRegister | ( | void | ) |
Returns the 8-bit data stored in the Independent Data(ID) register.
None |
8-bit | value of the ID register |
Definition at line 143 of file stm32f10x_crc.c.
void CRC_ResetDR | ( | void | ) |
Resets the CRC Data register (DR).
None |
None |
Definition at line 83 of file stm32f10x_crc.c.
void CRC_SetIDRegister | ( | uint8_t | IDValue | ) |
Stores a 8-bit data in the Independent Data(ID) register.
IDValue,: | 8-bit value to be stored in the ID register |
None |
Definition at line 133 of file stm32f10x_crc.c.