HPM APP
HPMicro Application solution
common_lwip.h File Reference
#include <stdbool.h>
#include "common_cfg.h"
#include "lwip/netif.h"
#include "hpm_enet_phy_common.h"
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#include "queue.h"
#include "timers.h"

Go to the source code of this file.

Macros

#define IS_UUID_INVALID(UUID)
 
#define LWIP_APP_TIMER_INTERVAL   (2 * 1000U) /* 2 * 1000 ms */
 

Functions

void enet_get_mac_address (uint8_t *mac)
 
bool enet_get_link_status (void)
 
void enet_self_adaptive_port_speed (void)
 
void enet_services (struct netif *netif)
 
void enet_common_handler (struct netif *netif)
 
void timer_callback (TimerHandle_t xTimer)
 

Macro Definition Documentation

◆ IS_UUID_INVALID

#define IS_UUID_INVALID (   UUID)
Value:
(UUID[0] == 0 && \
UUID[1] == 0 && \
UUID[2] == 0 && \
UUID[3] == 0)

◆ LWIP_APP_TIMER_INTERVAL

#define LWIP_APP_TIMER_INTERVAL   (2 * 1000U) /* 2 * 1000 ms */

Function Documentation

◆ enet_common_handler()

void enet_common_handler ( struct netif *  netif)

◆ enet_get_link_status()

bool enet_get_link_status ( void  )

◆ enet_get_mac_address()

void enet_get_mac_address ( uint8_t *  mac)

◆ enet_self_adaptive_port_speed()

void enet_self_adaptive_port_speed ( void  )

◆ enet_services()

void enet_services ( struct netif *  netif)

◆ timer_callback()

void timer_callback ( TimerHandle_t  xTimer)