iLLD_TC27xD  1.0
CRC Operation Functions
Collaboration diagram for CRC Operation Functions:

Functions

IFX_EXTERN uint16 IfxFce_Crc_calculateCrc16 (IfxFce_Crc_Crc *fce, const uint16 *crcData, uint32 crcDataLength, uint16 crcStartValue)
 Calculate the XORed 16-bit CRC value and returns it. It takes the precomputed XORed and reversed. More...
 
IFX_EXTERN uint32 IfxFce_Crc_calculateCrc32 (IfxFce_Crc_Crc *fce, const uint32 *crcData, uint32 crcDataLength, uint32 crcStartValue)
 Calculate the XORed 32-bit CRC value and returns it. It takes the precomputed XORed and reversed. More...
 
IFX_EXTERN uint8 IfxFce_Crc_calculateCrc8 (IfxFce_Crc_Crc *fce, const uint8 *crcData, uint32 crcDataLength, uint8 crcStartValue)
 Calculate the XORed 8-bit CRC value and returns it. It takes the precomputed XORed and reversed. More...
 

Detailed Description

Function Documentation

IFX_EXTERN uint16 IfxFce_Crc_calculateCrc16 ( IfxFce_Crc_Crc fce,
const uint16 crcData,
uint32  crcDataLength,
uint16  crcStartValue 
)

Calculate the XORed 16-bit CRC value and returns it. It takes the precomputed XORed and reversed.

Parameters
fceSpecifies the pointer to FCE module handler
crcDataLength of the input data block
crcDataLengthLength of the input data block
crcStartValuestart value for CRC calculation
Returns
Final CRC after XORed with XOR value.

Usage Example: see How to use the FCE CRC Interface driver?

Definition at line 36 of file IfxFce_Crc.c.

IFX_EXTERN uint32 IfxFce_Crc_calculateCrc32 ( IfxFce_Crc_Crc fce,
const uint32 crcData,
uint32  crcDataLength,
uint32  crcStartValue 
)

Calculate the XORed 32-bit CRC value and returns it. It takes the precomputed XORed and reversed.

Parameters
fceSpecifies the pointer to FCE module handler
crcDatapointer to the input data block
crcDataLengthLength of the input data block
crcStartValuestart value for CRC calculation
Returns
Final CRC after XORed with XOR value.

Usage Example: see How to use the FCE CRC Interface driver?

Definition at line 64 of file IfxFce_Crc.c.

IFX_EXTERN uint8 IfxFce_Crc_calculateCrc8 ( IfxFce_Crc_Crc fce,
const uint8 crcData,
uint32  crcDataLength,
uint8  crcStartValue 
)

Calculate the XORed 8-bit CRC value and returns it. It takes the precomputed XORed and reversed.

Parameters
fceSpecifies the pointer to FCE module handler
crcDataLength of the input data block
crcDataLengthLength of the input data block
crcStartValuestart value for CRC calculation
Returns
Final CRC after XORed with XOR value.

Usage Example: see How to use the FCE CRC Interface driver?

Definition at line 114 of file IfxFce_Crc.c.