| 1497 | FINSH_FUNCTION_EXPORT(PHY_Read, (add)); |
| 1498 | |
| 1499 | void PHY_Write(uint8_t addr , uint16_t data) |
| 1500 | { |
| 1501 | EMACPHYWrite(EMAC0_BASE, PHY_PHYS_ADDR, addr, data); |
| 1502 | rt_kprintf("W PHY_REG[0x%02X] = 0x%04X\n", addr, data); |
| 1503 | } |
| 1504 | FINSH_FUNCTION_EXPORT(PHY_Write, (add, data)); |
| 1505 | |
| 1506 | void PHY_SetAdd(uint8_t addr0, uint8_t addr1, uint8_t addr2, |
nothing calls this directly
no test coverage detected