
Digital Modules | SMART I/O User’s Manual | ||
|
|
|
|
|
|
|
|
Example
RetVal = SMACI1DeInit(0);
4.4.8.4 SMACI1Get
Syntax
error_code SMACI1Get(u_int8 PortNr, u_int8 *buffer);
Description
This function fetches the status of ALL 8 input lines of the port PortNr and writes it to the address pointed to by buffer with bit 0 of the buffer representing input 0 of the module.
Input
u_int8 PortNr
u_int8 *buffer
Pointer to buffer where data is to be stored.
Output
error_code SUCCESS
or
Example
RetVal = SMACI1Get(0, buffer);
08 Jan. 98 | Manual ID 09901, Rev. Index 0500 | Page 4 - 67 |