3.3.3.1 DIAG_CPU_SelfTestSubset2()

diag_result_t DIAG_CPU_SelfTestSubset2 (void )

Software Requirement Reference ID: SW_CPU_SELF_TEST_LIB_01  

Executes the CPU self-test Subset 2.

Functional items covered by Subset 2 are mentioned below:
  • All conditional branch instructions with alternative conditions

  • Program Counter (PC) behavior during above program flow change operations

  • All CALL and RETURN operations

  • NOP instruction

  • All stack operations

This API performs tests to verify the functionality of all the supported instructions mentioned above and updates the diag_result_t which contains the status for this diagnostic test.
Parameters:
None.
Returns:

DIAG_PASS  

DIAG_FAIL