This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6748例程startware\driver中的mdio.c疑惑



你好:

       使用C6748芯片进行网口Lan8710配置,参考例程startware\driver中的mdio.c;

在第51行处:下面的宏定义分别代表什么意思?在手册哪可以找到这些介绍?

#define  PHY_REG_MASK  (0x1Fu)

#define  PHY_ADDR_MASK  (0x1Fu)

#define  PHY_DATA_MASK  (0xFFFFu)

#define  PHY_REG_SHIFT  (21u)

#define  PHY_ADDR_SHIFT  (16u)