Pepper Computer Modular Computers RS232 User Manual

Page of 320
SMART I/O User’s Manual
March 12, 1996
©1996 PEP Modular Computers GmbH
Page 4 - 14
Chapter 4  Digital Modules
4.1.8.3 SMDIN1DeInit
Syntax
error_code SMDIN1DeInit(u_int8 PortNr);
Description
This function de-initialises the SM-DIN1 Module on port PortNr by releas-
ing all resources assigned to it thereby freeing memory for other uses.
Input
u_int8 PortNr
SM-Port number to de-initialise
Output
error_code
SUCCESS
or standard OS-9 error code (refer to the OS-9 Technical
Manual Error Codes Section).
Example
RetVal = SMDIN1DeInit(0);