Architecture | www.ti.com |
Example 4. EMAC Control Module Initialization Code |
|
|
|
Uint32 tmpval ; |
|
/* Disable all the EMAC/MDIO interrupts in the control module */ |
|
| |
| |
| |
| |
/* Wait about 100 cycles */ |
|
for( I=0; i<5; I++ ) |
|
tmpval = |
|
#ifdef INTT_PACING |
|
/* Set the control related to pacing of TX and RX interrupts */ |
|
| |
| |
| |
| |
#endif |
|
/* Initialize MDIO and EMAC Module */ |
|
[Discussed later in this document] |
|
/* Enable all the EMAC/MDIO interrupts in the control module */ |
|
| |
| |
| |
| |
|
|
52 Ethernet Media Access Controller (EMAC)/Management Data Input/Output SPRUFI5B
(MDIO) | Submit Documentation Feedback |
|
©