Pepper Computer RS232, RS485 user manual SMwdon Syntax

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 69
Image 69

Chapter 2 SMART-BASE

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 OS-9 error code (refer to the OS-9 Technical Manual Error Codes Section).

RetVal = SMwdon(time);

 

 

 

 

March 12, 1996

©1996 PEP Modular Computers GmbH

Page 2 - 29

 

 

Page 69
Image 69
Pepper Computer RS232, RS485 user manual SMwdon Syntax