# Digi.Drivers.WatchDog Class Reference

WatchDog class This class manage create WatchDogs. More...

List of all members.

## Public Types
enum | WatchDogAction { NoDefaultAction = 0, KillProcess = 1, ResetDevice = 2 }
| WatchDog Action enumeration Enumeration of the possible actions to take. More...
## Public Member Functions
| WatchDog (uint TimeOut, uint Action)
| Constructor, need TimeOut and default action.
bool | Start ()
| Method that starts the watchdog.
bool | Refresh ()
| Method that refreshes the watchdog.

## Detailed Description

WatchDog class This class manage create WatchDogs.

## Member Enumeration Documentation

enum Digi::Drivers::WatchDog::WatchDogAction

WatchDog Action enumeration Enumeration of the possible actions to take.

                // Use of the constants
                WatchDogAction.NoDefaultAction
                WatchDogAction.KillProcess
                WatchDogAction.ResetDevice

## Constructor & Destructor Documentation

Digi::Drivers.WatchDog::WatchDog | ( | uint | TimeOut,
|  | uint | Action |
| ) |  |  |

Constructor, need TimeOut and default action.

Parameters:

  | TimeOut | TimeOut to be configured
  | Action | The Action to be executed

## Member Function Documentation

bool Digi.Drivers.WatchDog.Refresh | ( |  | ) |

Method that refreshes the watchdog.

bool Refresh()

Returns:
  true indicates success

bool Digi.Drivers.WatchDog.Start | ( |  | ) |

Method that starts the watchdog.

bool Start()

Returns:
  true indicates success

The documentation for this class was generated from the following file:

- C:/Documents and Settings/aramos/Desktop/Freescale i.MX51_CSharp_API/Digi.Drivers/Digi.Drivers/WatchDog.cs