using System; namespace AMWD.Protocols.Modbus.Serial.Enums { /// /// Defines the flags for the RS485 driver state. /// [Flags] internal enum RS485Flags { /// /// RS485 is enabled. /// Enabled = 1, /// /// RS485 uses RTS on send. /// RtsOnSend = 2, /// /// RS485 uses RTS after send. /// RtsAfterSend = 4, /// /// Receive during send (duplex). /// RxDuringTx = 16 } }