mirror of
https://github.com/sengeiou/realtek_ameba_mp_sdk.git
synced 2026-07-11 05:55:41 +00:00
ameba micropython sdk first commit
This commit is contained in:
commit
8508ee6139
5619 changed files with 1874619 additions and 0 deletions
14
sdk/component/common/drivers/ethernet_mii/ethernet_mii.h
Normal file
14
sdk/component/common/drivers/ethernet_mii/ethernet_mii.h
Normal 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