3.3.1 Functions
diag_result_t DIAG_WDT_GetResult (void)
Returns the status of the WDT diagnosis.
static void configure_TMR0 (void)
Sets the period so that Timer0 (TMR0) overflows approximately every 1 ms.
static void restart_TMR0 (void)
Resets TMR0 to zero and starts counting from zero.
static void DIAG_Restore_Timer_Defaults (void)
void DIAG_WDT_Startup (void)
Tests the WDT, protects against runaway code, deadlocks and the program counter not working.