ApparatusFramework::WatchdogDevice Class Reference
[Device Services]

#include <DeviceServices/Win32/current/include/WatchdogDevice.h>

List of all members.

Public Member Functions

 WatchdogDevice ()
 ~WatchdogDevice ()

Static Public Member Functions

static void start ()
static void stop ()
static void reset ()
static void kick ()
static int resetCause ()

Detailed Description

WatchdogDevice An interface to a watchdog mechanism. Provides all services needed to run a watchdog and the watchdog task supervisor (PatternServices).

Definition at line 53 of file WatchdogDevice.h.

Constructor & Destructor Documentation

ApparatusFramework::WatchdogDevice::WatchdogDevice (  ) 

Construction and destruction WatchdogDevice Constructor.

ApparatusFramework::WatchdogDevice::~WatchdogDevice (  ) 


Member Function Documentation

static void ApparatusFramework::WatchdogDevice::kick (  )  [static]

This is the function that kicks the watchdog and resets its counter

static void ApparatusFramework::WatchdogDevice::reset (  )  [static]

Resets the system due to a watchdog reset (stop kicking)

static int ApparatusFramework::WatchdogDevice::resetCause (  )  [static]

Returns > 0 if the last reset was due to the watchdog and 0 if not

static void ApparatusFramework::WatchdogDevice::start (  )  [static]

Starts the watchdog counter. From now on, each x ms, the watchdog has to be kicked using the kick method.

static void ApparatusFramework::WatchdogDevice::stop (  )  [static]

Stops and resets the watchdog counter. kick is not needed any longer

© 2004-2010 bbv Software Services AG / Apparatus Services