Skip to main content

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

ClassNamespaceSummary
SerialDataReceivedEventArgsSystem.IO.PortsArguments for the data-received event.
SerialErrorReceivedEventArgsSystem.IO.PortsArguments for the error-received event.
SerialPinChangedEventArgsSystem.IO.PortsArguments for the pin-changed event.
SerialPortSystem.IO.Ports.NET-style serial port. Same surface as System.IO.Ports.SerialPort; internally routes through TinyCLR's GHIElectronics.TinyCLR.Devices.Uart.UartController.

Enums

EnumNamespaceSummary
HandshakeSystem.IO.PortsFlow-control method.
ParitySystem.IO.PortsParity-checking scheme.
SerialDataSystem.IO.PortsType of data received on the serial port.
SerialErrorSystem.IO.PortsErrors that can occur on the serial port.
SerialPinSystem.IO.PortsSerial control-pin changes that can raise the pin-changed event.
StopBitsSystem.IO.PortsNumber of stop bits per frame.

Delegates

DelegateNamespaceSummary
SerialDataReceivedEventHandlerSystem.IO.PortsHandler for the SerialPort.DataReceived event.
SerialErrorReceivedEventHandlerSystem.IO.PortsHandler for the SerialPort.ErrorReceived event.
SerialPinChangedEventHandlerSystem.IO.PortsHandler for the SerialPort.PinChanged event.