using System.Runtime.InteropServices; using AMWD.Protocols.Modbus.Serial.Enums; namespace AMWD.Protocols.Modbus.Serial.Utils { /// /// Represents the structure of the driver settings for RS485. /// [StructLayout(LayoutKind.Sequential, Size = 32)] [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] internal struct SerialRS485 { /// /// The flags to change the driver state. /// public RS485Flags Flags; /// /// The delay in milliseconds before send. /// public uint RtsDelayBeforeSend; /// /// The delay in milliseconds after send. /// public uint RtsDelayAfterSend; } }