Nefarius.Peripherals.Serial.../PInvokeSerialPort/StopBits.cs

23 lines
567 B
C#
Raw Normal View History

2012-03-03 10:50:54 +01:00
namespace PInvokeSerialPort
{
/// <summary>
2018-11-22 21:33:25 +01:00
/// Stop bit settings
2012-03-03 10:50:54 +01:00
/// </summary>
public enum StopBits
{
/// <summary>
2018-11-22 21:33:25 +01:00
/// Line is asserted for 1 bit duration at end of each character
2012-03-03 10:50:54 +01:00
/// </summary>
2018-11-22 21:33:25 +01:00
One = 0,
2012-03-03 10:50:54 +01:00
/// <summary>
2018-11-22 21:33:25 +01:00
/// Line is asserted for 1.5 bit duration at end of each character
2012-03-03 10:50:54 +01:00
/// </summary>
2018-11-22 21:33:25 +01:00
OnePointFive = 1,
2012-03-03 10:50:54 +01:00
/// <summary>
2018-11-22 21:33:25 +01:00
/// Line is asserted for 2 bit duration at end of each character
2012-03-03 10:50:54 +01:00
/// </summary>
2018-11-22 21:33:25 +01:00
Two = 2
}
2012-03-03 10:50:54 +01:00
}