MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / PHY_Write

Function PHY_Write

bsp/tm4c129x/drivers/drv_eth.c:1499–1503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1497FINSH_FUNCTION_EXPORT(PHY_Read, (add));
1498
1499void 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}
1504FINSH_FUNCTION_EXPORT(PHY_Write, (add, data));
1505
1506void PHY_SetAdd(uint8_t addr0, uint8_t addr1, uint8_t addr2,

Callers

nothing calls this directly

Calls 2

rt_kprintfFunction · 0.85
EMACPHYWriteFunction · 0.50

Tested by

no test coverage detected