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