mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2026-07-14 15:35:44 +00:00
first add sdk
This commit is contained in:
commit
f91efd1250
3915 changed files with 1291882 additions and 0 deletions
14
component/common/drivers/ethernet_mii/ethernet_mii.h
Executable file
14
component/common/drivers/ethernet_mii/ethernet_mii.h
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#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__
|
||||
Loading…
Add table
Add a link
Reference in a new issue