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 5 - 100
Chapter 5  Analog Modules
5.4.8.7 SMADC1DeInit
Syntax
error_code SMADC1DeInit(u_int8 PortNr);
Description
This function deinitialises the SM-ADC1 Module on the port PortNr by
freeing the resources tied up with it and setting all outputs and inputs to zero.
Input
u_int8 PortNr
SM-Port number to de-initialise
(from 0 to 10)
Output
error_code
SUCCESS
E_SEEK
if module not initialised
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
Example
RetVal = SMADC1DeInit(0);