OP_ETH_SETTINGS Structure
This structure defines various settings for OP BR Ethernet networks.
typedef struct __declspec (align(2))
{
unsigned char ucConfigMode;
unsigned char preemption_en;
unsigned char mac_addr1_0;
unsigned char mac_addr1_1;
unsigned char mac_addr1_2;
unsigned char mac_addr1_3;
unsigned char mac_addr1_4;
unsigned char mac_addr1_5;
unsigned char mac_addr2_0;
unsigned char mac_addr2_1;
unsigned char mac_addr2_2;
unsigned char mac_addr2_3;
unsigned char mac_addr2_4;
unsigned char mac_addr2_5;
unsigned char OpEthFlags;
unsigned char Reserved;
}OP_ETH_SETTINGS;
<StructLayout(LayoutKind.Sequential, Pack:=2)> Public Structure OP_ETH_SETTINGS
Dim ucConfigMode As Byte
Dim preemption_en As Byte
Dim mac_addr1_0 As Byte
Dim mac_addr1_1 As Byte
Dim mac_addr1_2 As Byte
Dim mac_addr1_3 As Byte
Dim mac_addr1_4 As Byte
Dim mac_addr1_5 As Byte
Dim mac_addr2_0 As Byte
Dim mac_addr2_1 As Byte
Dim mac_addr2_2 As Byte
Dim mac_addr2_3 As Byte
Dim mac_addr2_4 As Byte
Dim mac_addr2_5 As Byte
Dim OpEthFlags As Byte
Dim Reserved As Byte
End Structure
[StructLayout(LayoutKind.Sequential,Pack=2)]
public struct OP_ETH_SETTINGS
{
public byte ucConfigMode;
public byte preemption_en;
public byte mac_addr1_0;
public byte mac_addr1_1;
public byte mac_addr1_2;
public byte mac_addr1_3;
public byte mac_addr1_4;
public byte mac_addr1_5;
public byte mac_addr2_0;
public byte mac_addr2_1;
public byte mac_addr2_2;
public byte mac_addr2_3;
public byte mac_addr2_4;
public byte mac_addr2_5;
public byte OpEthFlags;
public byte Reserved;
}
Remarks
Last updated