Esempio n. 1
0
 public RedparkStream(int baud, ParityType parity,StopBitsType stopbits)
 {
     RscMgr = new RscMgr();
     RscMgr.Baud = baud;
     RscMgr.SetParity(parity);
     RscMgr.SetStopBits(stopbits);
 }
Esempio n. 2
0
 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);
Esempio n. 5
0
		public void SetLineProperty(BitsType bits, StopBitsType sbit, ParityType parity) 
		{
			CheckRet(ftdi_set_line_property(ref ftdi, bits, sbit, parity));
		}
Esempio n. 6
0
		[DllImport("libftdi")] internal static extern int ftdi_set_line_property(ref ftdi_context ftdi, BitsType bits, StopBitsType sbit, ParityType parity);
Esempio n. 7
0
 [DllImport("libftdi1", CallingConvention = CallingConvention.Cdecl)] internal static extern int ftdi_set_line_property(ref ftdi_context ftdi, BitsType bits, StopBitsType sbit, ParityType parity);