DIAG_CPU_Program_Counter()

diag_pc_status_t DIAG_CPU_Program_Counter (void )

The program counter (PC) test implements the functional tests H.2.16.5 defined by the IEC 60730 standard. The Program Counter test is a functional test of the PC. The PC holds the address of the next instruction to be executed. This API performs the functional test as follows:

Parameters:
None
Returns:

DIAG_CPU_PC_TEST_PASS, DIAG_CPU_PC_TEST_FAIL