3.3.1 Functions
diag_result_t DIAG_WWDT_GetResult (void)
Returns the status of the WWDT diagnosis.
static void configure_TMR0_for_time_taking (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 watchdog_delay (uint8_t i)
Creates a fixed delay for the WDT test.
static void diag_restore_timer_defaults (void)
void DIAG_WWDT_Startup (void)
Tests the WDT, protects against runaway code, deadlocks and the program counter not working.