Chapter 2 SMART-BASE

SMART I/O User’s Manual

 

 

 

 

 

 

 

 

 

 

2.6.4SMTpre Syntax

error_code SMTpre(u_int32 *value);

Description

This function reads / sets the timer preload register.

2

Input

u_int32 *value

Output

error_code

Example

Pointer to a variable that holds the value to set. The previous value is returned to the variable. If value is 0, only the read is performed.

SUCCESS

E_BMODE Requested value is out of range or standard OS-9 error code (refer to the OS-9 Technical Manual Error Codes Section).

RetVal = SMTpre(0);

 

 

 

 

March 12, 1996

©1996 PEP Modular Computers GmbH

Page 2 - 21

 

 

Page 61
Image 61
Pepper Computer RS232, RS485 user manual SMTpre Syntax