Pepper Computer RS485 Network Card User Manual


 
SMART I/O User’s Manual
Page 4 - 66
Digital Modules
08 Jan. 98Manual ID 09901, Rev. Index 0500
Input
u_int8 PortNr
SM-Port number to initialize.
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 = SMACI1Init(0);
4.4.8.3 SMACI1DeInit
Syntax
error_code SMACI1DeInit(u_int8 PortNr);
Description
This function de-initializes the SM-ACI1 Module on port
PortNr by releasing all resources assigned to it thereby freeing
memory for other uses.
Input
u_int8 PortNr
SM-Port number to de-initialize.
Output
error_code SUCCESS
or standard OS-9 error code (refer to the OS-9 Technical
Manual Error Codes Section).