Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

Watchdog
[* Special Hardware]

Collaboration diagram for Watchdog:


Detailed Description

ATmega128 on-chip watchdog.


Defines

#define NUT_WDT_FREQ
 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.


Function Documentation

void AvrWatchDogDisable void   ) 
 

Disable the AVR hardware watch dog timer.

For portability, applications should use the platform independent Watchdog Driver API.

void AvrWatchDogEnable void   ) 
 

Enable the AVR hardware watch dog timer.

For portability, applications should use the platform independent Watchdog Driver API.

void AvrWatchDogRestart void   ) 
 

Re-start the AVR hardware watch dog timer.

For portability, applications should use the platform independent Watchdog Driver API.

u_long AvrWatchDogStart u_long  ms  ) 
 

Start the AVR hardware watch dog timer.

For portability, applications should use the platform independent Watchdog Driver API.

Parameters:
ms Desired watchdog timeout in milliseconds.
Returns:
The actual watchdog timeout.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/