This file contains APIs to test FLASH using CRC32 Direct Computation algorithm.
[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 |
void | None |
[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] storeAddress |
uint32_t
- the FLASH address where calculated CRC will be stored |
diag_crc_status_t | CRC_OK, CRC_ERROR, CRC_INVALID_ADDRESS, CRC_INVALID_LENGTH, CRC_STORE_ERROR |
[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] refAddress |
uint32_t
- the FLASH address where reference CRC is available |
diag_crc_status_t | CRC_OK, CRC_ERROR, CRC_INVALID_ADDRESS, CRC_INVALID_LENGTH, CRC_STORE_ERROR |