3.4.3.1 DIAG_CPU_SelfTestSubset3()

diag_result_t DIAG_CPU_SelfTestSubset3 (void )

Software Requirement Reference ID: SW_CPU_SELF_TEST_LIB_01  

Executes the CPU self-test Subset 3.  

Functional items covered by subset 3 are mentioned below:  

  • All arithmetic and logic instructions

  • All data rotate and shift instructions

  • CCP register test

  • CPU registers tested for read/write 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