Pepper Computer RS485, RS232 user manual SMDIN1DeInit Syntax

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 102
Image 102

SMART I/O User’s Manual

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

SM-Port number to de-initialise

u_int8 PortNr

Output

error_code SUCCESS

or standard OS-9 error code (refer to the OS-9 Technical Manual Error Codes Section).

Example

RetVal = SMDIN1DeInit(0);

 

 

 

 

Page

4 - 14

©1996 PEP Modular Computers GmbH

March 12, 1996

 

 

 

Page 102
Image 102
Pepper Computer RS485, RS232 user manual SMDIN1DeInit Syntax