Syntax
void vm_wdt_reset(
    VM_WDT_HANDLE handle
);
ContentsIndex
PreviousUpNext
vm_wdt_reset
Example
Syntax
void vm_wdt_reset(
    VM_WDT_HANDLE handle
);
Description

Resets the watchdog timer. The timer will start again immediately and will fire after the number of ticks set in the vm_wdt_start() elapses.

Parameters
Parameters 
Description 
VM_WDT_HANDLE handle 
[IN] The watchdog handle returned from vm_wdt_start(). 
Example
// Time out is set to 1,000 ticks.
VM_WDT_HANDLE handle = vm_wdt_start(1000);

// Check the return value.
if (handle >= 0) {
    // Do something.
    vm_wdt_reset(handle);
} else {
    // Do error logging.
}

// Do something.
vm_wdt_reset(handle);

// Done with the watchdog timer.
vm_wdt_stop(handle);
File

vmwdt.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.