Pepper Computer RS485, RS232 user manual SMSSIInit Syntax, Description

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 312
Image 312

SMART I/O User’s Manual

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

Output

error_code

Example

SM-Port to initialize (from 0 to 10)

SUCCESS

E_BMODE if the module is unknown or standard OS-9 error code (refer to the OS-9 Technical Manual Error Codes Section).

RetVal = SMSSIInit(0);

 

 

 

 

Page

6- 30

©1996 PEP Modular Computers GmbH

October 01, 1996

 

 

 

Page 312
Image 312
Pepper Computer RS485, RS232 user manual SMSSIInit Syntax, Description