This file contains APIs to test EEPROM using CRC16 CCITT Look-up Table algorithm.
[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, out] crcSeed |
uint16_t *
- pointer to initial and final CRC |
void | None |
[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 |
diag_crc_status_t | CRC_OK, CRC_ERROR, CRC_INVALID_ADDRESS, CRC_INVALID_LENGTH |
[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] refAddress |
uint16_t
- the EEPROM address where reference CRC is available |
diag_crc_status_t | CRC_OK, CRC_ERROR, CRC_INVALID_ADDRESS, CRC_INVALID_LENGTH |