iLLD_TC27xD
1.0
|
Functions | |
IFX_INLINE void | IfxEth_RxDescr_setBuffer (IfxEth_RxDescr *descr, void *buffer) |
Set buffer of an RX descriptor. More... | |
IFX_INLINE IfxEth_TxDescr * | IfxEth_TxDescr_getNext (IfxEth_TxDescr *descr) |
Get pointer to next TX descriptor. More... | |
IFX_INLINE boolean | IfxEth_TxDescr_isAvailable (IfxEth_TxDescr *descr) |
Return TRUE if a TX descriptor is available for setup. More... | |
IFX_INLINE void | IfxEth_TxDescr_setBuffer (IfxEth_TxDescr *descr, void *buffer) |
Set buffer of a TX descriptor. More... | |
IFX_INLINE void | IfxEth_applySoftwareReset (IfxEth *eth) |
Applies the Software Reset. More... | |
IFX_INLINE void | IfxEth_clearRxInterrupt (IfxEth *eth) |
Clear receive interrupt request. More... | |
IFX_INLINE void | IfxEth_clearTxInterrupt (IfxEth *eth) |
Clear transmit interrupt request. More... | |
IFX_INLINE boolean | IfxEth_isSoftwareResetDone (IfxEth *eth) |
Returns the status of Software Reset. More... | |
IFX_INLINE void | IfxEth_setLoopbackMode (IfxEth *eth, boolean loopbackMode) |
Sets the loopback mode. More... | |
IFX_INLINE void | IfxEth_setPhyInterfaceMode (IfxEth *eth, IfxEth_PhyInterfaceMode mode) |
Sets the Phy Interface mode. More... | |
IFX_INLINE void | IfxEth_setReceiveDescriptorAddress (Ifx_ETH *eth, void *address) |
Sets receive descriptor address. More... | |
IFX_INLINE void | IfxEth_setTransmitDescriptorAddress (Ifx_ETH *eth, void *address) |
Sets transmit descriptor address. More... | |
IFX_INLINE void * | IfxEth_waitTransmitBuffer (IfxEth *eth) |
Waits for one TX buffer becomes available. More... | |
IFX_EXTERN void | IfxEth_freeReceiveBuffer (IfxEth *eth) |
Free the receive buffer, enabling it for the further reception. More... | |
IFX_EXTERN void | IfxEth_sendTransmitBuffer (IfxEth *eth, uint16 len) |
Request to send the transmit buffer. More... | |
IFX_EXTERN void | IfxEth_setMacAddress (IfxEth *eth, const uint8 *macAddress) |
Sets the MAC address. More... | |
IFX_EXTERN void | IfxEth_startReceiver (IfxEth *eth) |
Start the receiver functions. More... | |
IFX_EXTERN void | IfxEth_writeHeader (IfxEth *eth, uint8 *txBuffer, uint8 *destinationAddress, uint8 *sourceAddress, uint32 packetSize) |
writes the header format into buffrer More... | |
IFX_INLINE void IfxEth_applySoftwareReset | ( | IfxEth * | eth) |
Applies the Software Reset.
eth | ETH driver structure |
Definition at line 987 of file IfxEth.h.
Referenced by IfxEth_init().
IFX_INLINE void IfxEth_clearRxInterrupt | ( | IfxEth * | eth) |
IFX_INLINE void IfxEth_clearTxInterrupt | ( | IfxEth * | eth) |
IFX_EXTERN void IfxEth_freeReceiveBuffer | ( | IfxEth * | eth) |
IFX_INLINE boolean IfxEth_isSoftwareResetDone | ( | IfxEth * | eth) |
Returns the status of Software Reset.
eth | ETH driver structure |
Definition at line 1110 of file IfxEth.h.
Referenced by IfxEth_init().
IFX_INLINE void IfxEth_RxDescr_setBuffer | ( | IfxEth_RxDescr * | descr, |
void * | buffer | ||
) |
Set buffer of an RX descriptor.
descr | descr Pointer to an RX descriptor |
buffer | pointer to buffer |
Definition at line 945 of file IfxEth.h.
Referenced by IfxEth_initReceiveDescriptors().
IFX_EXTERN void IfxEth_sendTransmitBuffer | ( | IfxEth * | eth, |
uint16 | len | ||
) |
Request to send the transmit buffer.
The transmit buffer is the last one specified by IfxEth_getTransmitBuffer()
eth | ETH driver structure |
len | Length of the data put in the transmit buffer (in bytes) |
Definition at line 357 of file IfxEth.c.
Referenced by IfxEth_setAndSendTransmitBuffer().
IFX_INLINE void IfxEth_setLoopbackMode | ( | IfxEth * | eth, |
boolean | loopbackMode | ||
) |
IFX_EXTERN void IfxEth_setMacAddress | ( | IfxEth * | eth, |
const uint8 * | macAddress | ||
) |
Sets the MAC address.
eth | ETH driver structure |
macAddress | MAC address |
Definition at line 378 of file IfxEth.c.
Referenced by IfxEth_init().
IFX_INLINE void IfxEth_setPhyInterfaceMode | ( | IfxEth * | eth, |
IfxEth_PhyInterfaceMode | mode | ||
) |
Sets the Phy Interface mode.
eth | ETH driver structure |
mode | Phy interface mode |
Definition at line 1138 of file IfxEth.h.
Referenced by IfxEth_init().
IFX_INLINE void IfxEth_setReceiveDescriptorAddress | ( | Ifx_ETH * | eth, |
void * | address | ||
) |
Sets receive descriptor address.
eth | pointer to the ethernet module |
address | Address |
Definition at line 1145 of file IfxEth.h.
Referenced by IfxEth_initReceiveDescriptors().
IFX_INLINE void IfxEth_setTransmitDescriptorAddress | ( | Ifx_ETH * | eth, |
void * | address | ||
) |
Sets transmit descriptor address.
eth | pointer to the ethernet module |
address | Address |
Definition at line 1151 of file IfxEth.h.
Referenced by IfxEth_initTransmitDescriptors().
IFX_EXTERN void IfxEth_startReceiver | ( | IfxEth * | eth) |
Start the receiver functions.
eth | ETH driver structure |
Definition at line 567 of file IfxEth.c.
Referenced by IfxEth_wakeupReceiver().
IFX_INLINE IfxEth_TxDescr * IfxEth_TxDescr_getNext | ( | IfxEth_TxDescr * | descr) |
Get pointer to next TX descriptor.
descr | descr Pointer to a TX descriptor |
Definition at line 951 of file IfxEth.h.
Referenced by IfxEth_setupChecksumEngine(), and IfxEth_shuffleTxDescriptor().
IFX_INLINE boolean IfxEth_TxDescr_isAvailable | ( | IfxEth_TxDescr * | descr) |
IFX_INLINE void IfxEth_TxDescr_setBuffer | ( | IfxEth_TxDescr * | descr, |
void * | buffer | ||
) |
Set buffer of a TX descriptor.
descr | Entdescr Pointer to a TX descriptorer_String_here |
buffer | pointer to Buffer |
Definition at line 969 of file IfxEth.h.
Referenced by IfxEth_initTransmitDescriptors(), and IfxEth_setAndSendTransmitBuffer().
IFX_INLINE void * IfxEth_waitTransmitBuffer | ( | IfxEth * | eth) |