Seitenleiste


Access to information is restricted depending on your login. Request login-information through our contact form.

service:wince:drvlib:trigger_watchdog

Trigger_Watchdog

The function Trigger_Watchdog sets the time to wait, before the system reboots.

void Trigger_Watchdog(        
  unsigned long uSeconds, 
  int clean
); 
void ResetAfter_us(
  unsigned long uSeconds, 
  int clean
); 

Parameters

uSeconds
number of micro-seconds to wait, before system will reboot.

clean
set to 1 for a clean reset.
set to 0 for a non-clean reset.

Remarks

You can use TriggerWatchdog to reboot your system if your applications hangs for a specified time. A second call to TriggerWatchdog will reinit the time till reboot! If you perform a clean reset all information stored in the RAM-disk will be lost after reboot. A dirty reboot will leave the data stored in RAM-disk and the registry, as they where before reset.

Requirements

OS Versions: Windows CE 4.2 and later.
Header: drvlib_app.h
Link Library: drvlib_app.lib

See Also

Cookies helfen bei der Bereitstellung von Inhalten. Durch die Nutzung dieser Seiten erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Rechner gespeichert werden. Weitere Information
service/wince/drvlib/trigger_watchdog.txt · Zuletzt geändert: 2008/05/27 10:36 von