| 1490 | #ifdef RT_USING_FINSH |
| 1491 | #include "finsh.h" |
| 1492 | void PHY_Read(uint8_t addr) |
| 1493 | { |
| 1494 | uint16_t data = EMACPHYRead(EMAC0_BASE, PHY_PHYS_ADDR, addr); |
| 1495 | rt_kprintf("R PHY_REG[0x%02X] = 0x%04X\n", addr, data); |
| 1496 | } |
| 1497 | FINSH_FUNCTION_EXPORT(PHY_Read, (add)); |
| 1498 | |
| 1499 | void PHY_Write(uint8_t addr , uint16_t data) |
nothing calls this directly
no test coverage detected