DIAG_FLASH_CalculateCRC32()

static void DIAG_FLASH_CalculateCRC32 (uint32_t startAddress, uint32_t length, uint32_t * crcSeed)[static]

The CRC FLASH test implements the periodic modified checksum (H.2.19.3.1) defined by the IEC 60730 standard. This API calculates 32-bit CRC with Look-Up Table method for given FLASH memory region. This API will be used by DIAG_FLASH_CalculateStoreCRC32 and DIAG_FLASH_ValidateCRC32

Parameters:
in startAddress

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

in length

- number of bytes from startAddress to be considered for CRC

in,out crcSeed

- pointer to initial and final CRC

Returns:

None