4.1.3.1.3 Functions
-
static void DIAG_CPUPCTestFunction1 (static void DIAG_CPUPCTestFunction2() __at(PC_TEST_ADDR2) void)
This API is allocated to PC_TEST_ADDR1 and decrements the program counter test flag when called by DIAG_CPU_Program_Counter. This API returns back to the next instruction in the program sequence.
-
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: