3.15.27 diag_sram_march_types.h File Reference

This file contains common type definitions for SRAM diagnostics module.

Includes

  1. stdint.h

Enums

This enumeration contains return codes for SRAM diagnostics tests.

diag_sram_status_t
SRAM_OK= 0

0 - indicates that SRAM test is successful

SRAM_ERROR= 1

1 - indicates that SRAM test is unsuccessful

SRAM_GLOBAL_ERROR= 2

2 - indicates that SRAM test is unsuccessful in the test variables' addresses

SRAM_ADDR_ERROR= 3

3 - indicates that SRAM test addresses are invalid

SRAM_LENGTH_ERROR= 4

4 - indicates that SRAM test length is invalid

SRAM_INVALID_REGION= 5

5 - indicates that SRAM region is invalid as it is reserved for global variables

Functions

Table 3-65. uint16_t DIAG_MarchStartAddress__at (STARTADDR_LOC)
Parameters
STARTADDR_LOC
Returns
None
Table 3-66. uint16_t DIAG_MarchBufferAddress__at (BUFFERADDR_LOC)
Parameters
BUFFERADDR_LOC
Returns
None
Table 3-67. uint16_t DIAG_MarchTempAddress__at (TEMPADDR_LOC)
Parameters
TEMPADDR_LOC
Returns
None
Table 3-68. uint8_t DIAG_MarchLength__at (LENGTH_LOC)
Parameters
LENGTH_LOC
Returns
None