2.2.1 DIAG_CLOCK_Frequency
This API checks the stability and reliability oscillation at the expected clock frequency.
This is the Periodic test for the CPU Clock frequency. The test consists in monitoring the frequency of a Timer/Counter (TC) using the Real Time Counter (RTC) module using PIT as a time reference. Note that the TC has the same clock domain as the CPU.
diag_clock_frequency_status_t DIAG_CLOCK_Frequency(
void
)
Returns
diag_clock_frequency_status_t | DIAG_CLOCK_FREQUENCY_PASS= 0, DIAG_CLOCK_FREQUENCY_FAIL= 1 |