diag_memory_types.h File Reference

This file contains common type definitions for EEPROM and FLASH module.

Includes

  1. 1.stdint.h

Enums

This enumeration contains return codes for FLASH and EEPROM diagnostics tests.

CRC_OK= 0

0 - indicates that CRC test is successful

CRC_ERROR= 1

1 - indicates that CRC test is unsuccessful

CRC_INVALID_ADDRESS= 2

2 - indicates that CRC test is unsuccessful due to invalid reference or store address

CRC_INVALID_LENGTH= 3

3 - indicates that CRC test is unsuccessful due to invalid length of memory region

CRC_STORE_ERROR= 4

4 - indicates that CRC test is unsuccessful due to errors when writing to memory area

Functions