This file contains common type definitions 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 3-65. uint16_t DIAG_MarchStartAddress__at (STARTADDR_LOC)Parameters |
|
Returns |
|
Table 3-66. uint16_t DIAG_MarchBufferAddress__at (BUFFERADDR_LOC)Parameters |
|
Returns |
|
Table 3-67. uint16_t DIAG_MarchTempAddress__at (TEMPADDR_LOC)Parameters |
|
Returns |
|
Table 3-68. uint8_t DIAG_MarchLength__at (LENGTH_LOC)Parameters |
|
Returns |
|