24 lines
389 B
Dart
24 lines
389 B
Dart
/// Parity setting for serial port communication.
|
|
///
|
|
/// Maps to the autoreplyprint AAR SDK parity constants.
|
|
enum SerialParity {
|
|
/// No parity
|
|
none(0),
|
|
|
|
/// Odd parity
|
|
odd(1),
|
|
|
|
/// Even parity
|
|
even(2),
|
|
|
|
/// Mark parity
|
|
mark(3),
|
|
|
|
/// Space parity
|
|
space(4);
|
|
|
|
/// The integer value matching the AAR SDK constant.
|
|
final int value;
|
|
const SerialParity(this.value);
|
|
}
|