3.2.21.1 DIAG_RSTC_Functional

Returns the status of RSTC_FUNCTIONAL diagnostic

This funtction verifies correct operation of RSTC RCASUE register. Tests shall include the WDT, SYST, EXT, BODVDD, BODCORE, and SYST tests.

DIAG_TEST_STATUS 
DIAG_RSTC_Functional
(
      void
);

Diagnostic verifies the following faults do not exist

  • Reset cannot be enabled
  • Reset does not occur
  • RCAUSE status is not correct
  • Stuck in Reset

Operating Mode

  • Interface can be used at POST
Precondition
  • none

Parameters

  • void

Returns

  • DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.