System.IO.Ports
NuGet: GHIElectronics.TinyCLR.Devices.Uart
info
The standard, .NET-compatible System.IO.Ports API for TinyCLR. It ships inside the GHIElectronics.TinyCLR.Devices.Uart NuGet — there is no separate package to install.
Classes
| Class | Namespace | Summary |
|---|---|---|
| SerialDataReceivedEventArgs | System.IO.Ports | Arguments for the data-received event. |
| SerialErrorReceivedEventArgs | System.IO.Ports | Arguments for the error-received event. |
| SerialPinChangedEventArgs | System.IO.Ports | Arguments for the pin-changed event. |
| SerialPort | System.IO.Ports | .NET-style serial port. Same surface as System.IO.Ports.SerialPort; internally routes through TinyCLR's GHIElectronics.TinyCLR.Devices.Uart.UartController. |
Enums
| Enum | Namespace | Summary |
|---|---|---|
| Handshake | System.IO.Ports | Flow-control method. |
| Parity | System.IO.Ports | Parity-checking scheme. |
| SerialData | System.IO.Ports | Type of data received on the serial port. |
| SerialError | System.IO.Ports | Errors that can occur on the serial port. |
| SerialPin | System.IO.Ports | Serial control-pin changes that can raise the pin-changed event. |
| StopBits | System.IO.Ports | Number of stop bits per frame. |
Delegates
| Delegate | Namespace | Summary |
|---|---|---|
| SerialDataReceivedEventHandler | System.IO.Ports | Handler for the SerialPort.DataReceived event. |
| SerialErrorReceivedEventHandler | System.IO.Ports | Handler for the SerialPort.ErrorReceived event. |
| SerialPinChangedEventHandler | System.IO.Ports | Handler for the SerialPort.PinChanged event. |