Свойство | Type | Description | |
---|---|---|---|
_port |
Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Releases resources used by a serial port.
|
|
Flush ( ) : void |
Empties the contents of a serial port's buffer.
|
|
SerialInterruptPortBase ( |
Creates a new instance of SerialInterruptPort class, with hardware flow control and output pausing disabled. This corresponds to standard SerialPort class behavior.
|
|
SerialInterruptPortBase ( |
Creates a new instance of SerialInterruptPort class, allowing to specify buffer sizes.
|
Méthode | Description | |
---|---|---|
OnBusyChanged ( bool busy ) : void | ||
ReadDirect ( byte data, int offset, int length ) : int | ||
WriteDirect ( byte data, int offset, int length ) : int |
protected OnBusyChanged ( bool busy ) : void | ||
busy | bool | |
Résultat | void |
protected ReadDirect ( byte data, int offset, int length ) : int | ||
data | byte | |
offset | int | |
length | int | |
Résultat | int |
public SerialInterruptPortBase ( |
||
config | An object that contains the configuration information for the serial port. | |
Résultat | System |
public SerialInterruptPortBase ( |
||
config | An object that contains the configuration information for the serial port. | |
writeBufferSize | int | The size of output buffer in bytes. Data output is paused for |
readBufferSize | int | The size of input buffer in bytes. DataReceived event will fire only after this amount of data is received. Default is 1. |
readTimeout | int | Timeout of port reading. |
Résultat | System |
protected WriteDirect ( byte data, int offset, int length ) : int | ||
data | byte | |
offset | int | |
length | int | |
Résultat | int |