iLLD_TC27xC  1.0
IfxEth.c File Reference

ETH basic functionality. More...

#include "IfxEth.h"
#include "Src/Std/IfxSrc.h"
#include "Scu/Std/IfxScuWdt.h"
#include "IfxPort_reg.h"
#include "IfxEth_bf.h"

Go to the source code of this file.

Functions

void IfxEth_wakeupTransmitter (IfxEth *eth)
 Wakeup the transmitter functions. More...
 
void IfxEth_wakeupReceiver (IfxEth *eth)
 Wakeup the receiver functions. More...
 
void IfxEth_stopTransmitter (IfxEth *eth)
 Stop the transmitter functions. More...
 
void IfxEth_startTransmitter (IfxEth *eth)
 Start the transmitter functions. More...
 
void IfxEth_startReceiver (IfxEth *eth)
 Start the receiver functions. More...
 
void IfxEth_setupOutputPins (IfxEth *eth, const IfxEth_PortPins *portPins)
 set output pin of port More...
 
void IfxEth_setupInputPins (IfxEth *eth, const IfxEth_PortPins *portPins)
 Set up input pins. More...
 
void IfxEth_setupChecksumEngine (IfxEth *eth, IfxEth_ChecksumMode mode)
 Set up checksum Engine. More...
 
void IfxEth_setMacAddress (IfxEth *eth, const uint8 *macAddress)
 Sets the MAC address. More...
 
void IfxEth_setAndSendTransmitBuffer (IfxEth *eth, void *buffer, uint16 len)
 
void IfxEth_sendTransmitBuffer (IfxEth *eth, uint16 len)
 Request to send the transmit buffer. More...
 
void IfxEth_readMacAddress (IfxEth *eth, uint8 *macAddress)
 Reads the MAC address from module register. More...
 
void IfxEth_init (IfxEth *eth, const IfxEth_Config *config)
 Initialises the driver. More...
 
void * IfxEth_getTransmitBuffer (IfxEth *eth)
 Get a free transmit buffer. 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_freeReceiveBuffer (IfxEth *eth)
 Free the receive buffer, enabling it for the further reception. More...
 
void IfxEth_enableModule (void)
 Enable ETH Module. 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_0_1_0_10
                            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 85 of file IfxEth.c.

IfxEth_RxDescrList IfxEth_rxDescr

Definition at line 87 of file IfxEth.c.

Definition at line 89 of file IfxEth.c.

IfxEth_TxDescrList IfxEth_txDescr

Definition at line 91 of file IfxEth.c.