3.10.1 Functions
static void DIAG_EEPROM_CalculateCRC (eeprom_address_t startAddress, uint16_t length, uint32_t *crcSeed)
diag_result_t DIAG_EEPROM_CalculateStoreCRC (eeprom_address_t startAddress, uint16_t length, eeprom_address_t storeAddress)
Calculates 16-bit CRC for a given EEPROM memory region and stores it at the address indicated by 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 re-calculating and comparing it with the reference CRC stored by DIAG_EEPROM_CalculateStoreCRC.