io6Library
WIZnet Dual Stack TCP/IP Ethernet Controller Driver
Data Fields
wiz_PhyConf_t Struct Reference

Ethernet PHY operation mode configuration. More...

#include <wizchip_conf.h>

Data Fields

uint8_t mode
 set by PHY_MODE_MANUAL ,PHY_MODE_AUTONEGO, or PHY_MODE_TE More...
 
uint8_t speed
 set by PHY_SPEED_10 or PHY_SPEED_100 More...
 
uint8_t duplex
 set by PHY_DUPLEX_HALF PHY_DUPLEX_FULL More...
 

Detailed Description

Ethernet PHY operation mode configuration.

wiz_PhyConf is a structure type to configure or
indicate the PHY operation mode such as auto-negotiation, speed, and duplex.

Note
If _PHY_IO_MODE_ is defined with _PHY_IO_MODE_PHYCR_,
the PHY operation mode is configured by _PHYCR0_ and is indicated by _PHYSR_.
Otherwise, the PHY operation mode is configured or indicated by two MDC/MDIO signal of MII.
In order to apply wiz_PhyConf to the integrated Ethernet PHY,
It needs to reset the PHY by calling ctlwizchip(CW_RESET_PHY)
See also
ctlwizchip(), CW_SET_PHYCONF, CW_GET_PHYCONF, CW_RESET_PHY
wizphy_setphyconf(), wizphy_getphyconf(), wizphy_reset()

Definition at line 409 of file wizchip_conf.h.

Field Documentation

◆ mode

uint8_t wiz_PhyConf_t::mode

◆ speed

uint8_t wiz_PhyConf_t::speed

◆ duplex

uint8_t wiz_PhyConf_t::duplex

The documentation for this struct was generated from the following file: