16.7 diag_cpu_selftest.c File Reference

This file contains implementation for CPU self tests.

Includes

  1. xc.h
  2. diag_cpu_selftest.h
  3. diag_cpu_selftest_subset1.h
  4. diag_cpu_selftest_subset2.h
  5. diag_cpu_selftest_subset3.h

Functions

Table 16-9. uint8_tDIAG_CPU_SelfTest (diag_cpu_execution_mode_t executionMode)
Parameters

[in] executionMode

2.2.1 diag_cpu_execution_mode_t Enum

- indicates the operating mode in which the 2.3.1 DIAG_CPU_SelfTest diagnostic API function will be executed

Returns
uint8_t 8-bit Error Mask <- - - - - S3 S2 S1>. Test bit = 1: Subset execution is successful; Test bit = 0: Subset execution is failed.