Public Member Functions
Static Public Member Functions
|static void||start ()|
|static void||stop ()|
|static void||reset ()|
|static void||kick ()|
|static int||resetCause ()|
WatchdogDevice An interface to a watchdog mechanism. Provides all services needed to run a watchdog and the watchdog task supervisor (PatternServices).
Construction and destruction WatchdogDevice Constructor.
|static void ApparatusFramework::WatchdogDevice::kick||(||)||
This is the function that kicks the watchdog and resets its counter
|static void ApparatusFramework::WatchdogDevice::reset||(||)||
Resets the system due to a watchdog reset (stop kicking)
|static int ApparatusFramework::WatchdogDevice::resetCause||(||)||
Returns > 0 if the last reset was due to the watchdog and 0 if not
|static void ApparatusFramework::WatchdogDevice::start||(||)||
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||(||)||
Stops and resets the watchdog counter. kick is not needed any longer
© 2004-2010 bbv Software Services AG / Apparatus Services