Pepper Computer Modular Computers RS232 User Manual

Page of 320
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);