(r4864/r228)
#include "xexception_l.h"
#include "xbasic_types.h"
#include "xpseudo_asm.h"
#include "xparameters.h"
#include "xtemac.h"
#include "stdio.h"
Go to the source code of this file.
Define Documentation
| #define TEMAC_DEVICE_ID XPAR_PLB_TEMAC_0_DEVICE_ID |
| #define TEMAC_PHY_DELAY_SEC 4 |
Typedef Documentation
Function Documentation
| Xuint32 tapdev_freebytes |
( |
|
) |
|
| void tapdev_read_from_fifo_flush_end_of_packet |
( |
|
) |
|
| void tapdev_read_from_fifo_new_packet |
( |
Xuint32 * |
RxFrameLenght |
) |
|
| void tapdev_read_from_fifo_partial |
( |
Xuint8 * |
buf, |
|
|
Xuint32 |
len | |
|
) |
| | |
| void tapdev_send |
( |
Xuint16 |
len |
) |
|
| void tapdev_send_fullpacket |
( |
Xuint8 * |
buf, |
|
|
Xuint16 |
len | |
|
) |
| | |
| int tapdev_tryread_full_packet |
( |
Xuint8 * |
pbuf, |
|
|
Xuint32 |
len | |
|
) |
| | |
| void tapdev_write_to_fifo_end_of_packet |
( |
Xuint8 * |
buf, |
|
|
Xuint16 |
len | |
|
) |
| | |
| void tapdev_write_to_fifo_partial |
( |
Xuint8 * |
buf, |
|
|
Xuint16 |
len | |
|
) |
| | |
| int TemacConfigurePhy |
( |
XTemac * |
TemacInstancePtr, |
|
|
Xuint16 |
reg0set | |
|
) |
| | |
| Xuint32 TemacDetectPHY |
( |
XTemac * |
TemacInstancePtr |
) |
|
| XStatus TemacGetRxStatus |
( |
|
) |
|
| XStatus TemacGetTxStatus |
( |
|
) |
|
| void TemacPrintConfig |
( |
|
) |
|
| int TemacPrintPhyRegisters |
( |
|
) |
|
| Xuint16 TemacReadCtrlReg |
( |
unsigned |
reg, |
|
|
Xuint32 * |
retVal | |
|
) |
| | |
| int TemacReadoutPhyRegisters |
( |
XTemac * |
TemacInstancePtr |
) |
|
| XStatus TemacResetDevice |
( |
|
) |
|
| Xuint16 TemacWriteCtrlReg |
( |
unsigned |
reg, |
|
|
Xuint32 |
val | |
|
) |
| | |
Variable Documentation