11.2.3 DIAG_FLASH_CalculateCRC32
Software Requirement Reference ID : SW_FLASH_MEMORY_CHECKSUM_CRC_TEST_01. This API calculates 32-bit CRC with Direct Computation method for given FLASH memory region. This API will be used by 11.2.1 DIAG_FLASH_CalculateStoreCRC32 and 11.2.2 DIAG_FLASH_ValidateCRC32
static void DIAG_FLASH_CalculateCRC32(
uint32_t startAddress, uint32_t length, uint32_t * crcSeed
)
Parameters
[in] startAddress |
uint32_t
- starting address of FLASH memory region to be considered for CRC |
[in] length |
uint32_t
- number of bytes from startAddress to be considered for CRC |
[in, out] crcSeed |
uint32_t *
- pointer to initial and final CRC |
Returns
void | None |