beautypg.com

2 smssiinit, 2 smssiinit -30, Smart i/o user’s manual – Pepper Computer Modular Computers RS485 User Manual

Page 312: Chapter 6 communications modules

background image

SMART I/O User’s Manual

October 01, 1996

©1996 PEP Modular Computers GmbH

Page 6- 30

Chapter 6 Communications Modules

6.2.12.2 SMSSIInit

Syntax

error_code SMSSIInit(u_int8 PortNr);

Description

This function initializes the SM-SSI Module on port PortNr, resetting and

clearing the status of registers and allocating resource memory.

Input

u_int8 PortNr

SM-Port to initialize

(from 0 to 10)

Output

error_code

SUCCESS

E_BMODE

if the module is unknown

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

Technical Manual Error Codes Section).

Example

RetVal = SMSSIInit(0);

This manual is related to the following products: