3.2.17.2 DIAG_OSCCTRL_ClkSwitchDueToCFD - DEPRECATED

Returns the status of the OSCCTRL_CLOCK_SWITCH

This function verifies the XOSC switched to safe clock on CFD. This function will enable the oscillator and verifies the XOSC switched to the safe clock when CFD occur.

DIAG_TEST_STATUS 
DIAG_OSCCTRL_ClkSwitchDueToCFD
(
     DIAG_CLK_SOURCE osc_periph
);

Diagnostic verifies the following faults do not exist

  • XOSC Clock failure detector does not switch to OSC on XOSC failure

Operating Mode

  • Interface can be used at POST and ‘On Demand’ and InUse
Precondition
  • none

Parameters

  • osc_periph - oscillator to test

Returns

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