Files
Nefarius.Peripherals.Serial…/Nefarius.Peripherals.SerialPort/StopBits.cs
T

23 lines
581 B
C#
Raw Normal View History

2022-09-26 21:00:43 +02:00
namespace Nefarius.Peripherals.SerialPort
2012-03-03 13:20:54 +03:30
{
/// <summary>
2018-11-22 21:33:25 +01:00
/// Stop bit settings
2012-03-03 13:20:54 +03:30
/// </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 13:20:54 +03:30
/// </summary>
2018-11-22 21:33:25 +01:00
One = 0,
2012-03-03 13:20:54 +03:30
/// <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 13:20:54 +03:30
/// </summary>
2018-11-22 21:33:25 +01:00
OnePointFive = 1,
2012-03-03 13:20:54 +03:30
/// <summary>
2018-11-22 21:33:25 +01:00
/// Line is asserted for 2 bit duration at end of each character
2012-03-03 13:20:54 +03:30
/// </summary>
2018-11-22 21:33:25 +01:00
Two = 2
}
2012-03-03 13:20:54 +03:30
}