This file contains APIs to test SRAM using March C- algorithm.
Includes
- diag_sram_marchc_minus.h
- stdbool.h
- ../../../diag_common/config/diag_config.h
Functions
Table 4-71. diag_sram_status_tMarchC_Minus_Global (void)
Parameters |
|
Returns |
diag_sram_status_t
| SRAM_OK - Success,
SRAM_GLOBAL_ERROR - Failure
|
|
Table 4-72. diag_sram_status_tDIAG_SRAM_MarchC_Minus (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
|
|