MraaUartParity enum

UART parities.

Inheritance

Constructors

MraaUartParity(int code)
const

Values

none → const MraaUartParity
const MraaUartParity(mraaimpl.mraa_uart_parity_t.MRAA_UART_PARITY_NONE)
even → const MraaUartParity
const MraaUartParity(mraaimpl.mraa_uart_parity_t.MRAA_UART_PARITY_EVEN)
odd → const MraaUartParity
const MraaUartParity(mraaimpl.mraa_uart_parity_t.MRAA_UART_PARITY_ODD)
mark → const MraaUartParity
const MraaUartParity(mraaimpl.mraa_uart_parity_t.MRAA_UART_PARITY_MARK)
space → const MraaUartParity
const MraaUartParity(mraaimpl.mraa_uart_parity_t.MRAA_UART_PARITY_SPACE)
unknown → const MraaUartParity
const MraaUartParity(-1)

Properties

code int
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

byCode Map<int, MraaUartParity>
final

Static Methods

uartParity(int parity) MraaUartParity

Constants

values → const List<MraaUartParity>
A constant List of the values in this enum, in order of their declaration.