SAMV71 Xplained Ultra Software Package 1.4

sGmacQd Struct Reference
[GMAC Driver Types]

#include <D:/git/git_canopus_1/softpack/samv7/libraries/libchip_samv7/include/gmacd.h>

Data Fields

uint8_t * pTxBuffer
uint8_t * pRxBuffer
sGmacRxDescriptorpRxD
sGmacTxDescriptorpTxD
fGmacdTransferCallback fRxCb
fGmacdWakeupCallback fWakupCb
fGmacdTransferCallbackfTxCbList
fGmacdTxPtpEvtCallBack fTxPtpEvtCb
uint16_t wRxListSize
uint16_t wRxI
uint16_t wTxListSize
uint16_t wTxHead
uint16_t wTxTail
uint8_t bWakeupThreshold
uint16_t wTxBufferSize
uint16_t wRxBufferSize

Detailed Description

GMAC Queue driver.

Definition at line 142 of file gmacd.h.


Field Documentation

Number of free TD before wakeup callback is invoked

Definition at line 175 of file gmacd.h.

Optional callback to be invoked once a frame has been received

Definition at line 153 of file gmacd.h.

Optional callback list to be invoked once TD has been processed

Definition at line 157 of file gmacd.h.

Optional callback to be invoked on transmit of PTP Event messages

Definition at line 160 of file gmacd.h.

Optional callback to be invoked once several TD have been released

Definition at line 155 of file gmacd.h.

Pointer to allocated RX buffer

Definition at line 145 of file gmacd.h.

Pointer to Rx TDs (must be 8-byte aligned)

Definition at line 148 of file gmacd.h.

Pointer to Tx TDs (must be 8-byte aligned)

Definition at line 150 of file gmacd.h.

uint16_t sGmacQd::wRxI

RX index for current processing TD

Definition at line 165 of file gmacd.h.

RX TD list size

Definition at line 163 of file gmacd.h.

RX buffer size

Definition at line 178 of file gmacd.h.

uint16_t sGmacQd::wTxHead

Circular buffer head pointer by upper layer (buffer to be sent)

Definition at line 170 of file gmacd.h.

TX TD list size

Definition at line 168 of file gmacd.h.

uint16_t sGmacQd::wTxTail

Circular buffer tail pointer incremented by handlers (buffer sent)

Definition at line 172 of file gmacd.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines