SAMV71 Xplained Ultra Software Package 1.4

Gmacd_module

Collaboration diagram for Gmacd_module:

Modules

 GMAC Driver Defines
 GMAC Driver Types
 GMAC Driver Functions

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.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines