Watchdog
[Special Hardware]

ATmega128 on-chip watchdog. More...

Collaboration diagram for Watchdog:

Functions

uint32_t AvrWatchDogStart (uint32_t 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.

Detailed Description

ATmega128 on-chip watchdog.


Function Documentation

uint32_t AvrWatchDogStart ( uint32_t  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.

Definition at line 76 of file wdt_avr.c.

References wdt_enable, and wdt_reset.

Referenced by NutReset(), and 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 99 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 110 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 124 of file wdt_avr.c.

References wdt_enable.

Referenced by NutWatchDogEnable().


© 2000-2010 by contributors - visit http://www.ethernut.de/