phy in c