WebRadioApp  0.1
LWIP
Collaboration diagram for LWIP:

Modules

 ETHERNETIF
 

Functions

static void ethernet_link_status_updated (struct netif *netif)
 Notify the User about the network interface config status. More...
 
static void Ethernet_Link_Periodic_Handle (struct netif *netif)
 Ethernet Link periodic check. More...
 
void Error_Handler (void)
 This function is executed in case of error occurrence. More...
 
void MX_LWIP_Init (void)
 LwIP initialization function. More...
 
void MX_LWIP_Process (void)
 
  • Read a received packet from the Ethernet buffers.
More...
 

Variables

uint32_t DHCPfineTimer = 0
 
uint32_t DHCPcoarseTimer = 0
 
uint32_t EthernetLinkTimer
 
struct netif gnetif
 
ip4_addr_t ipaddr
 
ip4_addr_t netmask
 
ip4_addr_t gw
 
ETH_HandleTypeDef heth
 

Detailed Description

Function Documentation

◆ Error_Handler()

void Error_Handler ( void  )

This function is executed in case of error occurrence.

Return values
None

◆ Ethernet_Link_Periodic_Handle()

static void Ethernet_Link_Periodic_Handle ( struct netif *  netif)
static

Ethernet Link periodic check.

Parameters
netif
Return values
None

References ethernet_link_check_state(), and EthernetLinkTimer.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ethernet_link_status_updated()

static void ethernet_link_status_updated ( struct netif *  netif)
static

Notify the User about the network interface config status.

Parameters
netifthe network interface
Return values
None
Here is the caller graph for this function:

◆ MX_LWIP_Init()

void MX_LWIP_Init ( void  )

LwIP initialization function.


References ethernet_link_status_updated(), ethernetif_init(), gnetif, gw, ipaddr, and netmask.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MX_LWIP_Process()

void MX_LWIP_Process ( void  )

  • Read a received packet from the Ethernet buffers.

  • Send it to the lwIP stack for handling.
  • Handle timeouts if LWIP_TIMERS is set and without RTOS.
  • Handle the llink status if LWIP_NETIF_LINK_CALLBACK is set and without RTOS

References Ethernet_Link_Periodic_Handle(), ethernetif_input(), and gnetif.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ DHCPcoarseTimer

uint32_t DHCPcoarseTimer = 0

◆ DHCPfineTimer

uint32_t DHCPfineTimer = 0

◆ EthernetLinkTimer

uint32_t EthernetLinkTimer

◆ gnetif

struct netif gnetif

◆ gw

ip4_addr_t gw

◆ heth

ETH_HandleTypeDef heth

< IAR Compiler

◆ ipaddr

ip4_addr_t ipaddr

◆ netmask

ip4_addr_t netmask