EMAC_SetMdcClock
Default mainpageat91libperipheralsemacEMAC_SetMdcClock
Description Source Call Graph
EMAC_SetMdcClock
Set MDC clock according to current board clock.
 
Syntax / parameters
unsigned char EMAC_SetMdcClock (unsigned int mck)

Name Type Default Description
mck unsigned int
   
 
Return value unsigned char
   
Description
Set MDC clock according to current board clock.
Per 802.3, MDC should be less then 2.5MHz. Return 1 if successfully, 0 if MDC clock not found.

MDC clock = MCK/8 MDC clock = MCK/16 MDC clock = MCK/32 MDC clock = MCK/64
 
Source
The documentation for this Member was generated from the following files:
  • emac.c