SMART I/O User’s Manual | Chapter 6 Communications Modules | |||
|
|
|
|
|
|
|
|
|
|
6.2.12.6 SMSSIGetStatus
Syntax
error_code SMSSIGetStatus(u_int8 PortNr,
u_int8 *pStatus1, u_int8 *pStatus2);
Description
This function reads the status of the module selected on port PortNr.
Input
u_int8 PortNr
u_int8 *pStatus1
u_int8 *pStatus2
Pointer to the value read in the status register 2 (0x0
Output
error_code
Example
SUCCESS
E_BMODE if the module is unknown or standard
RetVal = SMSSIGetStaus(0, &Status1, &Status2);
|
|
|
|
Page | 6- 34 | ©1996 PEP Modular Computers GmbH | October 01, 1996 |
|
|
|