• Ready for review
  • 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

    Set_SoftReset