Functions
Collaboration diagram for CRC_Exported_Functions:

Functions

uint32_t CRC_CalcBlockCRC (uint32_t pBuffer[], uint32_t BufferLength)
 Computes the 32-bit CRC of a given buffer of data word(32-bit). More...
 
uint32_t CRC_CalcCRC (uint32_t Data)
 Computes the 32-bit CRC of a given data word(32-bit). More...
 
uint32_t CRC_GetCRC (void)
 Returns the current CRC value. More...
 
uint8_t CRC_GetIDRegister (void)
 Returns the 8-bit data stored in the Independent Data(ID) register. More...
 
void CRC_ResetDR (void)
 Resets the CRC Data register (DR). More...
 
void CRC_SetIDRegister (uint8_t IDValue)
 Stores a 8-bit data in the Independent Data(ID) register. More...
 

Detailed Description

Function Documentation

uint32_t CRC_CalcBlockCRC ( uint32_t  pBuffer[],
uint32_t  BufferLength 
)

Computes the 32-bit CRC of a given buffer of data word(32-bit).

Parameters
pBufferpointer to the buffer containing the data to be computed
BufferLengthlength of the buffer to be computed
Return values
32-bitCRC

Definition at line 80 of file stm32f4xx_crc.c.

uint32_t CRC_CalcCRC ( uint32_t  CRC_Data)

Computes the 32-bit CRC of a given data word(32-bit).

Parameters
Datadata word(32-bit) to compute its CRC
Return values
32-bitCRC
Parameters
CRC_Datadata word(32-bit) to compute its CRC
Return values
32-bitCRC

Definition at line 67 of file stm32f4xx_crc.c.

uint32_t CRC_GetCRC ( void  )

Returns the current CRC value.

Parameters
None
Return values
32-bitCRC

Definition at line 96 of file stm32f4xx_crc.c.

uint8_t CRC_GetIDRegister ( void  )

Returns the 8-bit data stored in the Independent Data(ID) register.

Parameters
None
Return values
8-bitvalue of the ID register

Definition at line 116 of file stm32f4xx_crc.c.

void CRC_ResetDR ( void  )

Resets the CRC Data register (DR).

Parameters
None
Return values
NoneResets the CRC Data register (DR).
Parameters
None
Return values
None

Definition at line 56 of file stm32f4xx_crc.c.

void CRC_SetIDRegister ( uint8_t  CRC_IDValue)

Stores a 8-bit data in the Independent Data(ID) register.

Parameters
IDValue8-bit value to be stored in the ID register
Return values
NoneStores a 8-bit data in the Independent Data(ID) register.
Parameters
CRC_IDValue8-bit value to be stored in the ID register
Return values
None

Definition at line 106 of file stm32f4xx_crc.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Fri Jul 24 2020 03:20:13