Logo
MSP430IEC60730SWPackage
March_test_api

Functions

uint8_t IEC60730_MARCH_TEST_testRam (uint16_t *pui16_StartAddr, uint16_t *pui16_EndAddr)
 

Detailed Description

Function Documentation

uint8_t IEC60730_MARCH_TEST_testRam ( uint16_t *  pui16_StartAddr,
uint16_t *  pui16_EndAddr 
)

Tests Variable memory (RAM memory)

Parameters
*pui16_StartAddris the start address of RAM to be tested
*pui16_EndAddris the end address of RAM to be tested

This function checks the RAM memory for DC fault using march test. The following march tests are implemented. Both test can be run in destructive or non-destructive mode based on the macro definition of MARCH_X_TEST or MARCH_C_TEST in "IEC60730_user_config.h" file

  • March X
  • March C

The test will perform the desired march test over the range of RAM memory specified by pui16_StartAddr and pui16_EndAddr.

Returns
SIG_RAM_TEST.- if RAM test is passed TEST_FAILED. - if RAM test fail and JUMP_TO_FAILSAFE is disabled in "IEC60730_user_config.h".