DP83848固定网口速度和双工模式寄存器配置

#elif(PHY_TYPE == DP83848)
#define PHY_SR                                        16U                                    /*!< tranceiver status register */ 
#define PHY_SPEED_STATUS                 ((uint16_t)0x0002                     /*!< configured information of speed: 10Mbit/s */
#define PHY_DUPLEX_STATUS               ((uint16_t)0x0004)                     /*!< configured information of duplex: full-duplex */

想固定使用10M 半双工, PHY_DUPLEX_STATUS ((uint16_t)0x0004) 这部分要怎么改?

两种方式:
1,关闭自动协商,设置PHY和MII工作模式为10M半双工
2,开启自协商,但是只允许10M半双工的模式