3.6.2.1 DIAG_EEPROM_CalculateStoreCRC32

Software Requirement Reference ID : SW_EEPROM_MEMORY_CHECKSUM_CRC_TEST_01. This API calculates 32-bit CRC for a given EEPROM memory region and stores the same at EEPROM address indicated by storeAddress argument

diag_crc_status_t DIAG_EEPROM_CalculateStoreCRC32(
    uint16_t startAddress,    uint16_t length,    uint16_t storeAddress
)

Parameters

[in] startAddress

uint16_t

- starting address of EEPROM memory region to be considered for CRC

[in] length

uint16_t

- number of bytes from startAddress to be considered for CRC

[in] storeAddress

uint16_t

- the EEPROM address where calculated CRC will be stored

Returns