UART_STATUS-Aufzählung (uart.h)
Definiert Werte für den Status eines UART-Vorgangs.
Syntax
typedef enum {
UartSuccess,
UartNoData,
UartError,
UartNotReady
} UART_STATUS, *PUART_STATUS;
Konstanten
UartSuccess Der Vorgang war erfolgreich, z. B. wenn Daten verfügbar waren. |
UartNoData Es sind keine Daten verfügbar, aber nicht aufgrund einer Fehlerbedingung. |
UartError Ein UART-Fehler wie Überlauf, Parität, Rahmen usw. |
UartNotReady Das Gerät ist nicht bereit. |
Anforderungen
Anforderung | Wert |
---|---|
mindestens unterstützte Client- | Windows 10, Version 1803 |
Header- | uart.h |