OMAPL138 MDIO模块ALIVE寄存器读到值和通过仿真器看到的值不一致
各位朋友:通过如下代码读到ALIVE寄存器的值是0,而实际值是1(后面有表述)unsignedintMDIOPhyAliveStatusGet(unsignedintbaseAddr)
{
unsignedintstate=0;
state=(HWREG(baseAddr+MDIO_ALIVE));
printf("address=%x\n",baseAddr+MDIO_ALIVE);
printf("state=%d\n"