 |
WebRadioApp
0.1
|
Go to the documentation of this file.
22 #ifndef __ETHERNETIF_H__
23 #define __ETHERNETIF_H__
26 #include "lwip/netif.h"
int32_t ETH_PHY_IO_DeInit(void)
De-Initializes the MDIO interface .
Definition: ethernetif.c:609
volatile int err
Definition: mp3player.cpp:51
err_t ethernetif_init(struct netif *netif)
Definition: ethernetif.c:506
void ethernetif_input(struct netif *netif)
Definition: ethernetif.c:451
LWIP_MEMPOOL_DECLARE(RX_POOL, 10, sizeof(struct pbuf_custom), "Zero-copy RX PBUF pool")
int32_t ETH_PHY_IO_GetTick(void)
Get the time in millisecons used for internal PHY driver process.
Definition: ethernetif.c:651
ETH_HandleTypeDef heth
Definition: ethernetif.c:115
lan8742_IOCtx_t LAN8742_IOCtx
Definition: ethernetif.c:132
u32_t sys_now(void)
Returns the current time in milliseconds when LWIP_TIMERS == 1 and NO_SYS == 1.
Definition: ethernetif.c:577
int32_t ETH_PHY_IO_ReadReg(uint32_t DevAddr, uint32_t RegAddr, uint32_t *pRegVal)
Read a PHY register through the MDIO interface.
Definition: ethernetif.c:621
u32_t sys_jiffies(void)
Returns the current time in milliseconds when LWIP_TIMERS == 1 and NO_SYS == 1.
Definition: ethernetif.c:566
ETH_TxPacketConfig TxConfig
Definition: ethernetif.c:116
static err_t low_level_output(struct netif *netif, struct pbuf *p)
Definition: ethernetif.c:362
__attribute__((weak))
Definition: syscalls.c:66
lan8742_Object_t LAN8742
Definition: ethernetif.c:131
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition: main.cpp:693
int32_t ETH_PHY_IO_Init(void)
Initializes the MDIO interface GPIO and clocks.
Definition: ethernetif.c:592
int32_t ETH_PHY_IO_WriteReg(uint32_t DevAddr, uint32_t RegAddr, uint32_t RegVal)
Write a value to a PHY register through the MDIO interface.
Definition: ethernetif.c:638
#define IFNAME1
Definition: ethernetif.c:45
struct pbuf * p
Definition: ntpudp.c:48
static struct pbuf * low_level_input(struct netif *netif)
Definition: ethernetif.c:405
#define ETH_RX_BUFFER_SIZE
Definition: lwipopts.h:54
ip4_addr_t ipaddr
Definition: lwip.c:45
void ethernet_link_check_state(struct netif *netif)
Check the ETH link state then update ETH driver and netif link accordingly.
Definition: ethernetif.c:662
Initialization code for LWIP middleWare. (partially based on examples that are provided within the ST...
void HAL_ETH_MspInit(ETH_HandleTypeDef *ethHandle)
Definition: ethernetif.c:144
void HAL_ETH_MspDeInit(ETH_HandleTypeDef *ethHandle)
Definition: ethernetif.c:200
void pbuf_free_custom(struct pbuf *p)
Custom Rx pbuf free callback.
Definition: ethernetif.c:551
static void low_level_init(struct netif *netif)
In this function, the hardware should be initialized. Called from ethernetif_init().
Definition: ethernetif.c:252
static err_t low_level_output_arp_off(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr)
Definition: ethernetif.c:480
#define IFNAME0
Definition: ethernetif.c:44
#define ETH_DMA_TRANSMIT_TIMEOUT
Definition: ethernetif.c:48