1.44 CLASSB_GetTestResult
Function
CLASSB_TEST_STATUS CLASSB_GetTestResult(CLASSB_TEST_TYPE test_type, CLASSB_TEST_ID test_id);
Summary
Returns the result of the specified self-test.
Description
This function reads the test results from the reserved SRAM and extracts the result of the self-test specified by the input arguments.
Precondition
None.
Parameters
test_type - Can be CLASSB_TEST_TYPE_SST or CLASSB_TEST_TYPE_RST.
test_id - Identifier for a Class B library test.
Returns
None.
Example
CLASSB_TEST_STATUS classb_test_status = CLASSB_TEST_NOT_EXECUTED; classb_test_status = CLASSB_GetTestResult(CLASSB_TEST_TYPE_SST, CLASSB_TEST_CPU);
Remarks
None.