Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Device Driver Functions for PHY

NetPhy_Init()

The first function within the Ethernet PHY API is the PHY driver initialization/Init() function which is called by the Ethernet network interface layer after the MAC device driver is initialized without error.

...

Every physical layer driver’s net_phy.c

Prototype

 

...

Note that since every PHY driver’s Init() function is accessed only by function pointer via the PHY driver’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static’.

...