DRV_ETHPHY_SETUP Structure

C

typedef struct { 
    int phyAddress; 
    TCPIP_ETH_OPEN_FLAGS openFlags; 
    DRV_ETHPHY_CONFIG_FLAGS configFlags; 
    TCPIP_ETH_PAUSE_TYPE macPauseType; 
    DRV_ETHPHY_RESET_FUNCTION resetFunction; 
} DRV_ETHPHY_SETUP; 

Members

MembersDescription
int phyAddress;the address the PHY is configured for
TCPIP_ETH_OPEN_FLAGS openFlags;the capability flags: FD/HD, 100/100Mbps, etc.
DRV_ETHPHY_CONFIG_FLAGS configFlags;configuration flags: MII/RMII, I/O setup
TCPIP_ETH_PAUSE_TYPE macPauseType;MAC requested pause type
DRV_ETHPHY_RESET_FUNCTION resetFunction;If ! NULL, function to be called when the PHY is reset/initialized

Description

Ethernet PHY Device Driver Set up Data This data structure contains all the data necessary to configure the Ethernet PHY device.

Remarks

A pointer to a structure of this format containing the desired initialization data must be passed into the DRV_ETHPHY_Setup routine.