This file contains APIs to test SRAM using March C algorithm.
Includes
- diag_sram_marchc.h
- stdbool.h
- ../../../diag_common/config/diag_config.h
Functions
Table 4-68. diag_sram_status_tMarchC_Global (void)
Parameters |
|
Returns |
diag_sram_status_t
| SRAM_OK - Success,
SRAM_GLOBAL_ERROR - Failure
|
|
Table 4-69. diag_sram_status_tDIAG_SRAM_MarchC (uint16_t startAddress, uint16_t length, uint16_t bufferAddress)
Parameters |
[in] startAddress
|
uint16_t
- pointer to an array declared in user memory for test
|
[in] length
|
uint16_t
- number of bytes to test
|
[in] bufferAddress
|
uint16_t
- pointer to location in memory where array will be stored during test
|
|
Returns |
diag_sram_status_t
| diag_sram_status_t
SRAM_OK - Success
SRAM_ERROR - Failure
SRAM_GLOBAL_ERROR - Failure at test variables
SRAM_ADDR_ERROR - Invalid address
SRAM_LENGTH_ERROR - Invalid length
|
|