beautypg.com

ProSoft Technology MVI69E-LDM User Manual

Page 82

background image

Contents

MVI69E-LDM ♦ "C" Programmable

Developer's Manual

Linux Application Development Module

Page 82 of 130

ProSoft Technology, Inc.

August 21, 2014


Example

MVI69HANDLE handle;
MVI69SPCONFIG spconfig;

/*Get jumper setting for Port 2 and verify that it is RS232*/
spconfig.port_num = 2
MVI69_GetSerialConfig (Handle, &spconfig);
if (spconfig.port_cfg != MVI69_SERIAL_CONFIG_RS232)
printf ("Port 2 is not configured for RS232");

See Also
MVI69_SetSerialConfig