3.2.16.2 DIAG_OSC32KCTRL_ClkSwitchDueToCFD Deprecated

Returns the status of the OSC32KCTRL_CLOCK_FAILURE_DETECTION diagnostic

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

DIAG_TEST_STATUS 
DIAG_OSC32KCTRL_ClkSwitchDueToCFD
(
     DIAG_CLK_SOURCE osc_periph
);

Diagnostic verifies the following faults do not exist

  • XOSC32K Clock failure detector does not switch to OSC32K on XOSC32K 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.