3.15.32 diag_sram_marchc_minus.c File Reference

This file contains APIs to test SRAM using March C- algorithm.

Includes

  1. diag_sram_marchc_minus.h
  2. ../../../diag_common/config/diag_config.h

Functions

Table 3-75. diag_sram_status_tMarchC_Minus_Global (void)
Parameters
void
Returns
diag_sram_status_t SRAM_OK - Success, SRAM_GLOBAL_ERROR - Failure
Table 3-76. diag_sram_status_tDIAG_SRAM_MarchC_Minus (uint16_t startAddress, uint8_t length, uint16_t bufferAddress)
Parameters

[in] startAddress

uint16_t

- pointer to an array declared in user memory for test

[in] length

uint8_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 SRAM_OK - Success, SRAM_ERROR - Failure, SRAM_GLOBAL_ERROR - Failure at test variables, SRAM_ADDR_ERROR - Invalid address, SRAM_LENGTH_ERROR - Invalid length