mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2024-11-24 23:14:18 +00:00
14 lines
296 B
C
14 lines
296 B
C
|
#ifndef __MII_ETHERNETIF_H__
|
||
|
#define __MII_ETHERNETIF_H__
|
||
|
|
||
|
#include "lwip_netconf.h"
|
||
|
|
||
|
#define MII_TX_DESC_CNT 4
|
||
|
#define MII_RX_DESC_CNT 10
|
||
|
|
||
|
#define ETHERNET_IDX (NET_IF_NUM - 1)
|
||
|
#define WLAN_IDX 0
|
||
|
|
||
|
typedef void (*link_up_down_callback)(int blinkup);
|
||
|
|
||
|
#endif // __MII_ETHERNETIF_H__
|