3.2.16.1 DIAG_OSC32KCTRL_ClkSwitch
Returns the status of the OSC32KCTRL_CLOCK_SWITCH diagnostic
This function verifies the switched to safe clock can occur.
DIAG_TEST_STATUS
DIAG_OSC32KCTRL_ClkSwitch
(
DIAG_CLK_SOURCE osc_periph
);
Diagnostic verifies the following faults do not exist
- XOSC32K Clock Switch does not occur
Operating Mode
- Interface can be used at POST
Precondition
- none
Parameters
- osc_periph - oscillator to test
Returns
- DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.
