18 lines
348 B
Dart
18 lines
348 B
Dart
/// Stop bits setting for serial port communication.
|
|
///
|
|
/// Maps to the autoreplyprint AAR SDK stop bits constants.
|
|
enum SerialStopBits {
|
|
/// 1 stop bit
|
|
one(0),
|
|
|
|
/// 1.5 stop bits
|
|
onePointFive(1),
|
|
|
|
/// 2 stop bits
|
|
two(2);
|
|
|
|
/// The integer value matching the AAR SDK constant.
|
|
final int value;
|
|
const SerialStopBits(this.value);
|
|
}
|