beautypg.com

7 smttin, 7 smttin -25 – Pepper Computer Modular Computers RS485 User Manual

Page 65

background image

SMART I/O User’s Manual

©1996 PEP Modular Computers GmbH

March 12, 1996

Page 2 - 25

2

Chapter 2 SMART-BASE

2.6.7 SMTtin

Syntax

error_code SMTtin(u_int8 *value);

Description

This function reads the current level present on TIN/PC2.

Input

u_int8 *value

Pointer to a variable in which to place the read

value. 0 represents low, 1 represents high

Output

error_code

SUCCESS

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

Technical Manual Error Codes Section).

Example

RetVal = SMTin(buffer);

This manual is related to the following products: