Interface CRC Functions

CRC Interface Functions

ee_itf_crc_status EE_ITF_CRC_Init ( void * crc_object )

Initialize the CRC interface context.

Parameters :

crc_object – CRC instance used by the interface.

Return values :

Possible – return values: see ee_itf_crc_status.

ee_itf_crc_status EE_ITF_CRC_Calcul16Bit ( uint8_t * crc_data , uint16_t data_size_byte , uint16_t * crc_value )

Compute a 16-bit CRC value.

Parameters :
  • crc_data – Pointer to the data buffer used for CRC computation.

  • data_size_byte – Data size in bytes.

  • crc_value – Output pointer that receives the CRC value.

Return values :

Possible – return values: see ee_itf_crc_status.

ee_itf_crc_status EE_ITF_CRC_Calcul8Bit ( uint8_t * crc_data , uint16_t data_size_byte , uint8_t * crc_value )

Compute an 8-bit CRC value.

Parameters :
  • crc_data – Pointer to the data buffer used for CRC computation.

  • data_size_byte – Data size in bytes.

  • crc_value – Output pointer that receives the CRC value.

Return values :

Possible – return values: see ee_itf_crc_status.

CRC Template Interface Functions

ee_itf_crc_status EE_ITF_CRC_Init ( void * crc_object )

Initialize the CRC interface context (template).

Initialize the CRC interface context.

Parameters :

crc_object – CRC instance used by the interface.

Return values :

Possible – return values: see ee_itf_crc_status.

ee_itf_crc_status EE_ITF_CRC_Calcul16Bit ( uint8_t * crc_data , uint16_t data_size_byte , uint16_t * crc_value )

Compute a 16-bit CRC value (template).

Compute a 16-bit CRC value.

Parameters :
  • crc_data – Pointer to the data buffer used for CRC computation.

  • data_size_byte – Data size in bytes.

  • crc_value – Output pointer that receives the CRC value.

Return values :

Possible – return values: see ee_itf_crc_status.

ee_itf_crc_status EE_ITF_CRC_Calcul8Bit ( uint8_t * crc_data , uint16_t data_size_byte , uint8_t * crc_value )

Compute an 8-bit CRC value (template).

Compute an 8-bit CRC value.

Parameters :
  • crc_data – Pointer to the data buffer used for CRC computation.

  • data_size_byte – Data size in bytes.

  • crc_value – Output pointer that receives the CRC value.

Return values :

Possible – return values: see ee_itf_crc_status.