iLLD_TC29x  1.0
IfxEth.c File Reference

ETH basic functionality. More...

#include "IfxEth.h"

Go to the source code of this file.

Functions

void IfxEth_enableModule (void)
 Enable ETH Module. More...
 
void IfxEth_freeReceiveBuffer (IfxEth *eth)
 Free the receive buffer, enabling it for the further reception. More...
 
void * IfxEth_getReceiveBuffer (IfxEth *eth)
 Gets receive buffer
note: IfxEth_freeReceiveBuffer() shall be called after the data from the RX buffer has been processed. More...
 
void * IfxEth_getTransmitBuffer (IfxEth *eth)
 Get a free transmit buffer. More...
 
void IfxEth_init (IfxEth *eth, const IfxEth_Config *config)
 Initialises the driver. More...
 
void IfxEth_initConfig (IfxEth_Config *config, Ifx_ETH *ethSfr)
 Initialises the configuration Structure. More...
 
void IfxEth_initReceiveDescriptors (IfxEth *eth)
 Initialises the receive descriptors. More...
 
void IfxEth_initTransmitDescriptors (IfxEth *eth)
 Initialises transmit descriptors. More...
 
void IfxEth_readMacAddress (IfxEth *eth, uint8 *macAddress)
 Reads the MAC address from module register. More...
 
void IfxEth_resetModule (void)
 resets Ethernet kernel More...
 
void IfxEth_sendTransmitBuffer (IfxEth *eth, uint16 len)
 Request to send the transmit buffer. More...
 
void IfxEth_setAndSendTransmitBuffer (IfxEth *eth, void *buffer, uint16 len)
 
void IfxEth_setMacAddress (IfxEth *eth, const uint8 *macAddress)
 Sets the MAC address. More...
 
void IfxEth_setupChecksumEngine (IfxEth *eth, IfxEth_ChecksumMode mode)
 Set up checksum Engine. More...
 
void IfxEth_setupMiiInputPins (IfxEth *eth, const IfxEth_MiiPins *miiPins)
 Set up MII mode input pins. More...
 
void IfxEth_setupMiiOutputPins (IfxEth *eth, const IfxEth_MiiPins *miiPins)
 setup MII mode output pins More...
 
void IfxEth_setupRmiiInputPins (IfxEth *eth, const IfxEth_RmiiPins *rmiiPins)
 Set up input pins. More...
 
void IfxEth_setupRmiiOutputPins (IfxEth *eth, const IfxEth_RmiiPins *rmiiPins)
 set output pin of port More...
 
void IfxEth_startReceiver (IfxEth *eth)
 Start the receiver functions. More...
 
void IfxEth_startTransmitter (IfxEth *eth)
 Start the transmitter functions. More...
 
void IfxEth_stopTransmitter (IfxEth *eth)
 Stop the transmitter functions. More...
 
void IfxEth_wakeupReceiver (IfxEth *eth)
 Wakeup the receiver functions. More...
 
void IfxEth_wakeupTransmitter (IfxEth *eth)
 Wakeup the transmitter functions. More...
 
void IfxEth_writeHeader (IfxEth *eth, uint8 *txBuffer, uint8 *destinationAddress, uint8 *sourceAddress, uint32 packetSize)
 writes the header format into buffrer More...
 

Variables

uint8 IfxEth_rxBuffer [IFXETH_MAX_RX_BUFFERS][IFXETH_RTX_BUFFER_SIZE]
 
IfxEth_RxDescrList IfxEth_rxDescr
 
uint8 IfxEth_txBuffer [IFXETH_MAX_TX_BUFFERS][IFXETH_RTX_BUFFER_SIZE]
 
IfxEth_TxDescrList IfxEth_txDescr
 

Detailed Description

ETH basic functionality.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxEth.c.

Variable Documentation

Definition at line 35 of file IfxEth.c.

Referenced by IfxEth_initReceiveDescriptors().

IfxEth_RxDescrList IfxEth_rxDescr

Definition at line 37 of file IfxEth.c.

Definition at line 39 of file IfxEth.c.

Referenced by IfxEth_initTransmitDescriptors().

IfxEth_TxDescrList IfxEth_txDescr

Definition at line 41 of file IfxEth.c.