3.6.1 Functions
static void DIAG_EEPROM_CalculateCRC16 (eeprom_address_t startAddress, uint16_t length, uint16_t *crcSeed)
diag_result_t DIAG_EEPROM_CalculateStoreCRC (eeprom_address_t startAddress, uint16_t length, eeprom_address_t storeAddress)
Calculates the 16-bit CRC for a given EEPROM memory region and stores it at the EEPROM address indicated by the storeAddress argument.
diag_result_t DIAG_EEPROM_ValidateCRC (eeprom_address_t startAddress, uint16_t length, eeprom_address_t refAddress)
Validates the CRC of a given EEPROM memory region by recalculating and comparing it with the reference CRC stored by DIAG_EEPROM_CalculateStoreCRC.