Syntax
VM_WDT_HANDLE vm_wdt_start(
    VMUINT tick
);
ContentsIndex
PreviousUpNext
vm_wdt_start
Example
Syntax
VM_WDT_HANDLE vm_wdt_start(
    VMUINT tick
);
Description

Starts a watchdog.

Parameters
Parameters 
Description 
VMUINT tick 
[IN] The value of the watchdog timer, in ticks. 
Returns

If it returns a positive integer, it is the handle of the watchdog. 

Otherwise, it returns a negative integer.

Example
VM_WDT_HANDLE handle = vm_wdt_start(1000);

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

// Done with doing something.
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.