Class ATmega644SerialCOM2
Provides an ISerialCommand serial port with ATmega644 for COM2 extV24
Inheritance
System.Object
ATmega644SerialCOM2
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: ElatecFCT.dll
Syntax
public class ATmega644SerialCOM2 : ISerialCommand
Constructors
View Source
ATmega644SerialCOM2(ATmega644)
Initializes a new instance of the Elatec.FCT.Client.Hardware.ATmega644SerialCOM2 using a ATmega mcu
Declaration
public ATmega644SerialCOM2(ATmega644 mcu)
Parameters
Properties
View Source
BaudRate
Declaration
public int BaudRate { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
DataBits
Declaration
public int DataBits { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
Parity
Declaration
public Parity Parity { get; set; }
Property Value
Type |
Description |
System.IO.Ports.Parity |
|
View Source
PortName
Declaration
public string PortName { get; }
Property Value
Type |
Description |
System.String |
|
View Source
ReadTimeout
Declaration
public int ReadTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
StopBits
Declaration
public StopBits StopBits { get; set; }
Property Value
Type |
Description |
System.IO.Ports.StopBits |
|
View Source
StopChar
Declaration
public char StopChar { get; set; }
Property Value
Type |
Description |
System.Char |
|
Methods
View Source
Close()
Declaration
View Source
Open()
Declaration
View Source
ReadTo(String)
Declaration
public string ReadTo(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Type |
Description |
System.String |
|
View Source
Rx()
Declaration
Returns
Type |
Description |
System.Byte[] |
|
View Source
Tx(Byte[])
Declaration
public void Tx(byte[] tx)
Parameters
Type |
Name |
Description |
System.Byte[] |
tx |
|
View Source
TxRx(Byte[])
Declaration
public byte[] TxRx(byte[] tx)
Parameters
Type |
Name |
Description |
System.Byte[] |
tx |
|
Returns
Type |
Description |
System.Byte[] |
|
View Source
Write(String)
Declaration
public void Write(string data)
Parameters
Type |
Name |
Description |
System.String |
data |
|
View Source
WriteReadTo(String, String)
Declaration
public string WriteReadTo(string wrData, string value)
Parameters
Type |
Name |
Description |
System.String |
wrData |
|
System.String |
value |
|
Returns
Type |
Description |
System.String |
|
Implements