4.15.27 diag_sram_march_types.h File Reference

This file contains common macros and return types 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 4-56. uint16_t DIAG_MarchStartAddress__at (STARTADDR_LOC)
Parameters
STARTADDR_LOC
Returns
None
Table 4-57. uint16_t DIAG_MarchBufferAddress__at (BUFFERADDR_LOC)
Parameters
BUFFERADDR_LOC
Returns
None
Table 4-58. uint16_t DIAG_MarchTempAddress__at (TEMPADDR_LOC)
Parameters
TEMPADDR_LOC
Returns
None
Table 4-59. uint16_t DIAG_MarchIndex__at (INDEX_LOC)
Parameters
INDEX_LOC
Returns
None
Table 4-60. uint16_t DIAG_MarchLength__at (LENGTH_LOC)
Parameters
LENGTH_LOC
Returns
None
Table 4-61. uint8_t DIAG_MarchTestBit__at (TEST_BIT_LOC)
Parameters
TEST_BIT_LOC
Returns
None
Table 4-62. uint8_t DIAG_MarchTestVariable1__at (TEST_VARIABLE1_LOC)
Parameters
TEST_VARIABLE1_LOC
Returns
None
Table 4-63. uint8_t DIAG_MarchTestVariable2__at (TEST_VARIABLE2_LOC)
Parameters
TEST_VARIABLE2_LOC
Returns
None
Table 4-64. uint8_t DIAG_MarchErrorFlag__at (ERROR_FLAG_LOC)
Parameters
ERROR_FLAG_LOC
Returns
None