RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Modules

Modules

 GMAC Driver Defines
 
 GMAC Driver Functions
 
 GMAC Driver Types
 

Detailed Description

Implement GMAC data transfer and PHY management functions.

Usage

  1. Implement GMAC interrupt handler, which must invoke GMACD_Handler() to handle GMAC interrupt events.
  2. Implement sGmacd instance in application.
  3. Initialize the instance with GMACD_Init() and GMACD_InitTransfer(), so that GMAC data can be transmitted/received.
  4. Some management callbacks can be set by GMACD_SetRxCallback() and GMACD_SetTxWakeupCallback().
  5. Send ethernet packets using GMACD_Send(), GMACD_TxLoad() is used to check the free space in TX queue.
  6. Check and obtain received ethernet packets via GMACD_Poll().
See also
Ethernet GMACB Driver, Gmac_module

Related files:
gmacd.c
gmacd.h.