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

21 lines
550 B
C#
Raw Normal View History

2012-03-03 10:50:54 +01:00
namespace PInvokeSerialPort
{
/// <summary>
/// Stop bit settings
/// </summary>
public enum StopBits
{
/// <summary>
/// Line is asserted for 1 bit duration at end of each character
/// </summary>
one = 0,
/// <summary>
/// Line is asserted for 1.5 bit duration at end of each character
/// </summary>
onePointFive = 1,
/// <summary>
/// Line is asserted for 2 bit duration at end of each character
/// </summary>
two = 2
};
}