Moving structure as preparation for docs

This commit is contained in:
2025-08-06 21:05:47 +02:00
parent 885079ae70
commit 799a014b15
117 changed files with 629 additions and 664 deletions

View File

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