有与W5500通讯时,需要使用下面的寄存器:
PHYCFGR (W5500 PHY Configuration Register) [R/W] [0x002E] [0b10111XXX]
PHYCFGR configures PHY operation mode and resets PHY. In addition, PHYCFGR indicates the status of PHY such as duplex, Speed, Link.
这张表格详细描述了 W5500 芯片中 PHY 配置寄存器(PHYCFGR)各位的功能,具体如下:
第 7 位 - RST(复位位)
- 读写属性:可读写(R/W)
- 功能:当该位为
0
时,内部 PHY(物理层)被复位。PHY 复位完成后,应将该位设置为1
。
第 6 位 - OPMD(操作模式配置选择位 )
- 读写属性