4.1.1.1.3 Functions
-
static void diag_ClockTestSetup (void)
For the Clock SOSC Diagnostic Test API to initialize the timer1 settings to run the test.
-
static void diag_Timer1Restore (void)
For the Clock SOSC Diagnostic Test API to restore the timer1 settings based on the application settings. This is called after the diag_ClockTestTimer has completed.
-
static void diag_ClockTestTimer (void)
For the Clock SOSC Diagnostic Test API to calculate the diag_clockCount value to be used in DIAG_Clock_SOSC API.
-
diag_clock_status_t DIAG_Clock_SOSC (uint32_t clockFrequency, uint32_t referenceFrequency, uint8_t msec, uint8_t tolerance)
For the Clock SOSC Diagnostic Test API to calculate and validate the frequency of the CPU clock using a reference Secondary Oscillator Crystal.