SMART I/O User’s Manual | Chapter 4 Digital Modules | |||
|
|
|
|
|
|
|
|
|
|
4.3.8.9 SMREL1GetExtVcc
Syntax
error_code SMREL1GetExtVcc(u_int8 PortNr, u_int8 *buffer);
Description
This function gets the input of the port PortNr and writes it to buffer. If there is no external Vcc, then it returns 0, otherwise it returns 1.
Input
u_int8 PortNr u_int8 *buffer
Output
error_code
Example
pointer to buffer where data is written
SUCCESS
E_BMODE if the module is unknown or standard
RetVal = SMREL1GetExtVcc(0, buffer);
|
|
|
|
Page | 4 - 46 | ©1996 PEP Modular Computers GmbH | March 12, 1996 |
|
|
|