3.10.1 Functions
diag_result_t DIAG_FLASH_CalculateStoreCRC (flash_address_t startAddress, uint32_t length, flash_address_t storeAddress)
Calculates the 32-bit CRC for a given Flash memory region and stores it at the address indicated by the storeAddress argument.
diag_result_t DIAG_FLASH_ValidateCRC (flash_address_t startAddress, uint32_t length, flash_address_t refAddress)
Validates the CRC of a given Flash memory region by re-calculating and comparing it with the reference CRC stored by DIAG_FLASH_CalculateStoreCRC.