ETHERNET_SETTINGS Structure

This structure defines various settings for Ethernet networks.

typedef struct __declspec (align(2))
{
    unsigned char duplex;
    unsigned char link_speed;
    unsigned char auto_neg;
    unsigned char led_mode;
    unsigned char rsvd0;
    unsigned char rsvd1;
    unsigned char rsvd2;
    unsigned char rsvd3;
}ETHERNET_SETTINGS;

Remarks

ItemDescription

duplex

Sets the Duplex mode.

0=Half 1=Full

link_speed

Sets the speed for the network

0=10Mbps 1=100Mbps

auto_neg

Enables Auto-Negotiate

0=Disabled 1=Enabled

led_mode

Sets the function of the Ethernet IDs

0=link 1=activity 2=link/activity

rsvd0

Reserved Set to 0

rsvd1

Reserved Set to 0

rsvd2

Reserved Set to 0

rsvd3

Reserved Set to 0

Last updated