
Chapter 2 | SMART I/O User’s Manual | |||
|
|
|
|
|
|
|
|
|
|
2.6.11SMwdon Syntax
error_code SMwdon(u_int32 *time);
Description
This function activates the watchdog timer of the 68302. If timeout is reached, the system is reset; in normal operating mode, this must be avoided by periodically triggering the watchdog using the function SMwdtrig.
2
Input
u_int32 *time
Output
error_code
Example
Time in ms. The range is from 1ms to approx. 13 seconds. The function returns the real set time in *time.
SUCCESS | Time is out of range or subse- |
E_BMODE | |
| quent error |
or standard
RetVal = SMwdon(time);
|
|
|
|
March 12, 1996 | ©1996 PEP Modular Computers GmbH | Page 2 - 29 | |
|
|