EMAC_WritePhy
Default mainpageat91libperipheralsemacEMAC_WritePhy
Description Source Call Graph
EMAC_WritePhy
Write PHY register Return 1 if successfully, 0 if timeout.
 
Syntax / parameters
unsigned char EMAC_WritePhy (unsigned char PhyAddress, unsigned char Address, unsigned int Value, unsigned int retry)

Name Type Default Description
PhyAddress unsigned char
  PHY Address
Address unsigned char
  Register Address
Value unsigned int
  Data to write ( Actually 16 bit data )
retry unsigned int
  The retry times, 0 to wait forever until complete.
 
Return value unsigned char
   
Description
Write PHY register Return 1 if successfully, 0 if timeout.

 
Source
The documentation for this Member was generated from the following files:
  • emac.c