Moxa ioPAC 8500-2-M12-C-T [38/66] Mx_findfd

Moxa ioPAC 8020-5-M12-C-T [38/66] Mx_findfd
Developer's Guide for Moxa RTU Controllers Programmer's Guide
2-30
MX_SerialSetParam
int MX_SerialSetParam( int port, int parity, int databits, int stopbit);
Sets the parity, data bits, and stop bits for the serial port.
Input Parameters
port
parity
databits
stopbit
Return Value
Result of the call
MX_SerialDataInInputQueue
int MX_SerialDataInInputQueue( int port);
Gets the length of the data in the input queue for the serial port.
Input Parameters
port
Return Value
Result of the call or the length of the data.
MX_SerialDataInOutputQueue
int MX_SerialDataInOutputQueue( int port);
Gets the length of the data in the output queue for the serial port.
Input Parameters
port
Return Value
Result of the call or the length of the data.
MX_FindFD
int MX_FindFD( int port);
Gets the File Descriptor for the serial port.
Input Parameters
port
Return Value
Result of the call or a file descriptor.

Содержание

Скачать