Collaboration diagram for Watchdog:
![]() |
Defines | |
#define | NUT_WDT_FREQ 1165000 |
Watchdog oscillator frequency. | |
Functions | |
u_long | AvrWatchDogStart (u_long ms) |
Start the AVR hardware watch dog timer. | |
void | AvrWatchDogRestart (void) |
Re-start the AVR hardware watch dog timer. | |
void | AvrWatchDogDisable (void) |
Disable the AVR hardware watch dog timer. | |
void | AvrWatchDogEnable (void) |
Enable the AVR hardware watch dog timer. |
#define NUT_WDT_FREQ 1165000 |
Watchdog oscillator frequency.
Definition at line 56 of file wdt_avr.c.
Referenced by AvrWatchDogStart().
Start the AVR hardware watch dog timer.
For portability, applications should use the platform independent Watchdog Driver API.
ms | Desired watchdog timeout in milliseconds. |
Definition at line 73 of file wdt_avr.c.
References NUT_WDT_FREQ, wdt_enable, and wdt_reset.
Referenced by NutWatchDogStart().
void AvrWatchDogRestart | ( | void | ) |
Re-start the AVR hardware watch dog timer.
For portability, applications should use the platform independent Watchdog Driver API.
Definition at line 96 of file wdt_avr.c.
References wdt_reset.
Referenced by NutWatchDogRestart().
void AvrWatchDogDisable | ( | void | ) |
Disable the AVR hardware watch dog timer.
For portability, applications should use the platform independent Watchdog Driver API.
Definition at line 107 of file wdt_avr.c.
References wdt_disable.
Referenced by NutWatchDogDisable().
void AvrWatchDogEnable | ( | void | ) |
Enable the AVR hardware watch dog timer.
For portability, applications should use the platform independent Watchdog Driver API.
Definition at line 121 of file wdt_avr.c.
References wdt_enable.
Referenced by NutWatchDogEnable().