![]() |
axiethernet
Vitis Drivers API Documentation
|
#include "xparameters.h"#include "xaxiethernet_example.h"#include "xaxidma.h"#include "xil_cache.h"#include "xil_exception.h"#include "xinterrupt_wrap.h"Macros | |
| #define | XAXIETHERNET_BASEADDRESS XPAR_XAXIETHERNET_0_BASEADDR |
| AXI Ethernet base address. More... | |
| #define | AXIETHERNET_DEVICE_ID XPAR_AXIETHERNET_0_DEVICE_ID |
| AXI Ethernet device ID. More... | |
| #define | AXIDMA_DEVICE_ID XPAR_AXIDMA_0_DEVICE_ID |
| AXI DMA device ID. More... | |
| #define | RXBD_CNT 128 |
| Number of RxBDs to use. More... | |
| #define | TXBD_CNT 128 |
| Number of TxBDs to use. More... | |
| #define | BD_ALIGNMENT XAXIDMA_BD_MINIMUM_ALIGNMENT |
| Byte alignment of BDs. More... | |
| #define | PAYLOAD_SIZE 1000 |
| Payload size used in examples. More... | |
| #define | BD_RX_STATUS_OFFSET 2 |
| BD RX STATUS OFFSET. More... | |
| #define | RXBD_SPACE_BYTES XAxiDma_BdRingMemCalc(BD_ALIGNMENT, RXBD_CNT) |
| RXBD SPACE BYTES. More... | |
| #define | TXBD_SPACE_BYTES XAxiDma_BdRingMemCalc(BD_ALIGNMENT, TXBD_CNT) |
| TXBD SPACE BYTES. More... | |
Functions | |
| int | AxiEthernetMcastExample (XAxiEthernet *AxiEthernetInstancePtr, XAxiDma *DmaInstancePtr, UINTPTR AxiEthernetBaseAddress) |
| Demonstrates the usage of the Axi Ethernet extended. More... | |
| int | AxiEthernetSgDmaIntrExtMulticastExample (XAxiEthernet *AxiEthernetInstancePtr, XAxiDma *DmaInstancePtr) |
| This example sends and receives a single packet in loopback mode with. More... | |
| int | main () |
| Main entry point for the AVB example. More... | |