常用PHY网卡芯片寄存器地址

常用PHY网卡芯片寄存器地址

PHY_SR:状态寄存器
PHY_SPEED_STATUS: PHY速度掩码
PHY_DUPLEX_STATUS: 链接状态掩码

LAN8720
PHY_SR: (uint16_t )30
PHY_SPEED_STATUS: (uint16_t )0x0001
PHY_DUPLEX_STATUS: (uint16_t )0x0004

LAN8700
PHY_SR: (uint16_t )31
PHY_SPEED_STATUS: (uint16_t )0x0004
PHY_DUPLEX_STATUS: (uint16_t )0x0010

DP83848
PHY_SR: (uint16_t )16
PHY_SPEED_STATUS: (uint16_t )0x0002
PHY_DUPLEX_STATUS: (uint16_t )0x0004

IP101
PHY_SR: (uint16_t )30
PHY_SPEED_STATUS: (uint16_t )0x0001
PHY_DUPLEX_STATUS: (uint16_t )0x0004

如果有误,请大家指正。。。

你可能感兴趣的:(STM32,stm32)