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