4 smtpre, 4 smtpre -21 – Pepper Computer Modular Computers RS485 User Manual

Page 61

Advertising
background image

SMART I/O User’s Manual

©1996 PEP Modular Computers GmbH

March 12, 1996

Page 2 - 21

2

Chapter 2 SMART-BASE

2.6.4 SMTpre

Syntax

error_code SMTpre(u_int32 *value);

Description

This function reads / sets the timer preload register.

Input

u_int32 *value

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.

Output

error_code

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).

Example

RetVal = SMTpre(0);

Advertising
This manual is related to the following products: