Skip to main content

GHIElectronics.TinyCLR.Devices.Uart

NuGet: GHIElectronics.TinyCLR.Devices.Uart

tip

This NuGet also includes the standard, .NET-compatible System.IO.Ports API.

Classes

ClassNamespaceSummary
BreakDetectedEventArgsGHIElectronics.TinyCLR.Devices.UartArguments for break-condition events (reserved; not raised by the standard controller).
ClearToSendChangedEventArgsGHIElectronics.TinyCLR.Devices.UartArguments for UartController.ClearToSendChanged.
DataReceivedEventArgsGHIElectronics.TinyCLR.Devices.UartArguments for UartController.DataReceived.
ErrorReceivedEventArgsGHIElectronics.TinyCLR.Devices.UartArguments for UartController.ErrorReceived.
UartControllerGHIElectronics.TinyCLR.Devices.UartRepresents a UART (serial) port. Configure via SetActiveSettings(UartSetting), then Enable the port and exchange bytes through Read(byte[]) / Write(byte[]). Subscribe to DataReceived for event-driven receive instead of polling BytesToRead.
UartControllerApiWrapperGHIElectronics.TinyCLR.Devices.Uart.ProviderConcrete IUartControllerProvider backed by the native TinyCLR UART HAL.
UartSettingGHIElectronics.TinyCLR.Devices.UartAggregate configuration for a UART port — passed to UartController.SetActiveSettings(UartSetting).

Interfaces

InterfaceNamespaceSummary
IUartControllerProviderGHIElectronics.TinyCLR.Devices.Uart.ProviderProvider contract for a UART controller.

Enums

EnumNamespaceSummary
UartErrorGHIElectronics.TinyCLR.Devices.UartCategories of error reported via UartController.ErrorReceived.
UartHandshakeGHIElectronics.TinyCLR.Devices.UartFlow-control policy.
UartParityGHIElectronics.TinyCLR.Devices.UartParity bit policy for a UART frame.
UartStopBitCountGHIElectronics.TinyCLR.Devices.UartNumber of stop bits per frame.

Delegates

DelegateNamespaceSummary
ClearToSendChangedEventHandlerGHIElectronics.TinyCLR.Devices.UartHandler signature for UartController.ClearToSendChanged.
DataReceivedEventHandlerGHIElectronics.TinyCLR.Devices.UartHandler signature for UartController.DataReceived.
ErrorReceivedEventHandlerGHIElectronics.TinyCLR.Devices.UartHandler signature for UartController.ErrorReceived.