<StructLayout(LayoutKind.Sequential, Pack:=2)> Public Structure SPluto_CustomParams
Dim mode0 As Byte
Dim mode1 As Byte
Dim mode2 As Byte
Dim mode3 As Byte
Dim mode4 As Byte
Dim speed0 As Byte
Dim speed1 As Byte
Dim speed2 As Byte
Dim speed3 As Byte
Dim speed4 As Byte
Dim PhyEnable0 As Byte
Dim PhyEnable1 As Byte
Dim PhyEnable2 As Byte
Dim PhyEnable3 As Byte
Dim PhyEnable4 As Byte
Dim ae1Select As Byte
Dim usbSelect As Byte
Dim pad As Byte
End Structure
[StructLayout(LayoutKind.Sequential,Pack=2)]
public struct SPluto_CustomParams
{
public byte mode0;
public byte mode1;
public byte mode2;
public byte mode3;
public byte mode4;
public byte speed0;
public byte speed1;
public byte speed2;
public byte speed3;
public byte speed4;
public byte PhyEnable0;
public byte PhyEnable1;
public byte PhyEnable2;
public byte PhyEnable3;
public byte PhyEnable4;
public byte ae1Select;
public byte usbSelect;
public byte pad;
}
Remarks
Item
Description
mode0
First inputs connect Mode
Auto = 0: Master = 1: Slave :1
mode1
Second inputs connect Mode
Auto = 0: Master = 1: Slave :1
mode2
Third inputs connect Mode
Auto = 0: Master = 1: Slave :1
mode3
Fourth inputs connect Mode
Auto = 0: Master = 1: Slave :1
mode4
Not used Set to 0
speed0
Sets the Speed of the Channel
speed1
Not used set to 0
speed2
Not used set to 0
speed3
Not used set to 0
speed4
Not used set to 0
PhyEnable0
Enables the first phy
PhyEnable1
Enables the second phy
PhyEnable2
Enables the Third phy
PhyEnable3
Enables the Fourth phy
PhyEnable4
Enables the Fifth phy
ae1Select
Sets if the First phy is AE or RJ45
AE=1: RJ45=0
usbSelect
Sets USB Mode
USB=0: USB to Ethernet: VSpy and Core Mini are not connected to Ethernet.
CoreMini=1: CM: VSpy and Core Mini can access Ethernet. USB to Ethernet disconnected