iLLD_TC27xC  1.0
Configuration Functions
Collaboration diagram for Configuration Functions:

Functions

IFX_INLINE void * IfxEth_waitTransmitBuffer (IfxEth *eth)
 Waits for one TX buffer becomes available. More...
 
IFX_INLINE void IfxEth_setLoopbackMode (IfxEth *eth, boolean loopbackMode)
 Sets the MAC address. More...
 
IFX_INLINE void IfxEth_clearTxInterrupt (IfxEth *eth)
 Clear transmit interrupt request. More...
 
IFX_INLINE void IfxEth_clearRxInterrupt (IfxEth *eth)
 Clear receive interrupt request. More...
 
IFX_INLINE void IfxEth_TxDescr_setBuffer (IfxEth_TxDescr *descr, void *buffer)
 Set buffer of a 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 IfxEth_TxDescrIfxEth_TxDescr_getNext (IfxEth_TxDescr *descr)
 Get pointer to next TX descriptor. More...
 
IFX_INLINE void IfxEth_RxDescr_setBuffer (IfxEth_RxDescr *descr, void *buffer)
 Set buffer of an RX descriptor. More...
 
IFX_EXTERN void IfxEth_startReceiver (IfxEth *eth)
 Start the receiver functions. More...
 
IFX_EXTERN void IfxEth_setMacAddress (IfxEth *eth, const uint8 *macAddress)
 Sets the MAC address. More...
 
IFX_EXTERN void IfxEth_sendTransmitBuffer (IfxEth *eth, uint16 len)
 Request to send the transmit buffer. More...
 
IFX_EXTERN void IfxEth_freeReceiveBuffer (IfxEth *eth)
 Free the receive buffer, enabling it for the further reception. More...
 

Detailed Description

Function Documentation

IFX_INLINE void IfxEth_clearRxInterrupt ( IfxEth eth)

Clear receive interrupt request.

Parameters
ethETH driver structure
Returns
None

Definition at line 764 of file IfxEth.h.

IFX_INLINE void IfxEth_clearTxInterrupt ( IfxEth eth)

Clear transmit interrupt request.

Parameters
ethETH driver structure
Returns
None

Definition at line 757 of file IfxEth.h.

IFX_EXTERN void IfxEth_freeReceiveBuffer ( IfxEth eth)

Free the receive buffer, enabling it for the further reception.

Parameters
ethETH driver structure
Returns
None

Definition at line 540 of file IfxEth.c.

IFX_INLINE void IfxEth_RxDescr_setBuffer ( IfxEth_RxDescr descr,
void *  buffer 
)

Set buffer of an RX descriptor.

Parameters
descrdescr Pointer to an RX descriptor
Returns
None

Definition at line 789 of file IfxEth.h.

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()

Parameters
ethETH driver structure
lenLength of the data put in the transmit buffer (in bytes)
Returns
None

Definition at line 287 of file IfxEth.c.

Referenced by IfxEth_setAndSendTransmitBuffer().

IFX_INLINE void IfxEth_setLoopbackMode ( IfxEth eth,
boolean  loopbackMode 
)

Sets the MAC address.

Parameters
ethETH driver structure
loopbackModeloopback mode enable/disbale
Returns
None

Definition at line 750 of file IfxEth.h.

IFX_EXTERN void IfxEth_setMacAddress ( IfxEth eth,
const uint8 macAddress 
)

Sets the MAC address.

Parameters
ethETH driver structure
macAddressMAC address
Returns
None

Definition at line 263 of file IfxEth.c.

Referenced by IfxEth_init().

IFX_EXTERN void IfxEth_startReceiver ( IfxEth eth)

Start the receiver functions.

Parameters
ethETH driver structure
Returns
None

Definition at line 153 of file IfxEth.c.

Referenced by IfxEth_wakeupReceiver().

IFX_INLINE IfxEth_TxDescr * IfxEth_TxDescr_getNext ( IfxEth_TxDescr descr)

Get pointer to next TX descriptor.

Parameters
descrdescr Pointer to a TX descriptor

Definition at line 783 of file IfxEth.h.

Referenced by IfxEth_setupChecksumEngine(), and IfxEth_shuffleTxDescriptor().

IFX_INLINE boolean IfxEth_TxDescr_isAvailable ( IfxEth_TxDescr descr)

Return TRUE if a TX descriptor is available for setup.

Definition at line 777 of file IfxEth.h.

IFX_INLINE void IfxEth_TxDescr_setBuffer ( IfxEth_TxDescr descr,
void *  buffer 
)

Set buffer of a TX descriptor.

Parameters
descrEntdescr Pointer to a TX descriptorer_String_here
Returns
None

Definition at line 771 of file IfxEth.h.

Referenced by IfxEth_setAndSendTransmitBuffer().

IFX_INLINE void * IfxEth_waitTransmitBuffer ( IfxEth eth)

Waits for one TX buffer becomes available.

Parameters
ethETH driver structure retval non NULL_PTR TX buffer is available at the address pointed by the returned value retval NULL_PTR TX buffer is busy.

Definition at line 737 of file IfxEth.h.