public RedparkStream(int baud, ParityType parity,StopBitsType stopbits) { RscMgr = new RscMgr(); RscMgr.Baud = baud; RscMgr.SetParity(parity); RscMgr.SetStopBits(stopbits); }
public RedparkStream(int baud, ParityType parity, StopBitsType stopbits) { RscMgr = new RscMgr(); RscMgr.Baud = baud; RscMgr.SetParity(parity); RscMgr.SetStopBits(stopbits); }
public void SetLineProperty(BitsType bits, StopBitsType sbit, ParityType parity) { CheckRet(ftdi_set_line_property(ref ftdi, bits, sbit, parity)); }
[DllImport("libftdi1")] internal static extern int ftdi_set_line_property(ref ftdi_context ftdi, BitsType bits, StopBitsType sbit, ParityType parity);
[DllImport("libftdi")] internal static extern int ftdi_set_line_property(ref ftdi_context ftdi, BitsType bits, StopBitsType sbit, ParityType parity);
[DllImport("libftdi1", CallingConvention = CallingConvention.Cdecl)] internal static extern int ftdi_set_line_property(ref ftdi_context ftdi, BitsType bits, StopBitsType sbit, ParityType parity);