4.3.13.1 Functions

  • static void DIAG_EEPROM_CalculateCRC16 (uint32_t startAddress, uint32_t length, uint16_t *crcSeed)

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

  • diag_crc_status_t DIAG_EEPROM_CalculateStoreCRC16 (uint32_t startAddress, uint32_t length, uint32_t storeAddress)

    The CRC EEPROM test implements the periodic modified checksum (H.2.19.3.1) defined by the IEC 60730 standard. This API calculates 16-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_ValidateCRC16 (uint32_t startAddress, uint32_t length, uint32_t refAddress)

    The CRC EEPROM test implements the periodic modified checksum (H.2.19.3.1) defined by the IEC 60730 standard. This API validates the CRC of a given EEPROM memory region by re-calculating and comparing it with reference CRC stored by DIAG_EEPROM_CalculateStoreCRC16