2024-04-30 13:10:11 +03:00
|
|
|
#ifndef __ETHERNETIF_H__
|
|
|
|
#define __ETHERNETIF_H__
|
|
|
|
|
|
|
|
#include "lwip/err.h"
|
|
|
|
#include "lwip/netif.h"
|
2024-05-02 17:19:55 +03:00
|
|
|
#include "stm32f4xx_hal_eth.h"
|
2024-04-30 13:10:11 +03:00
|
|
|
|
|
|
|
err_t ethernetif_init(struct netif *netif);
|
|
|
|
|
|
|
|
void ethernetif_input(struct netif *netif);
|
|
|
|
void ethernetif_update_config(struct netif *netif);
|
|
|
|
void ethernetif_notify_conn_changed(struct netif *netif);
|
|
|
|
|
|
|
|
u32_t sys_jiffies(void);
|
|
|
|
u32_t sys_now(void);
|
2024-05-02 17:19:55 +03:00
|
|
|
ETH_HandleTypeDef* getEthStruct();
|
2024-04-30 13:10:11 +03:00
|
|
|
#endif
|
|
|
|
|