11 smwdon, 11 smwdon -29 – Pepper Computer Modular Computers RS485 User Manual

Page 69

Advertising
background image

SMART I/O User’s Manual

©1996 PEP Modular Computers GmbH

March 12, 1996

Page 2 - 29

2

Chapter 2 SMART-BASE

2.6.11 SMwdon

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.

Input

u_int32 *time

Time in ms. The range is from 1ms to approx.

13 seconds. The function returns the real set

time in *time.

Output

error_code

SUCCESS

E_BMODE

Time is out of range or subse-

quent error

or standard OS-9 error code (refer to the OS-9

Technical Manual Error Codes Section).

Example

RetVal = SMwdon(time);

Advertising
This manual is related to the following products: