summaryrefslogtreecommitdiff
path: root/code/fe310/eos/net_def.h
blob: 473714c597ceb9f6d661ebe2858ae9c988450120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define NET_SIZE_BUF            1500
#define NET_SIZE_BUFQ           2

#define NET_PIN_RTS             20
#define NET_PIN_CTS             22

#define NET_STATE_FLAG_RUN      0x01
#define NET_STATE_FLAG_RST      0x02
#define NET_STATE_FLAG_RTS      0x04
#define NET_STATE_FLAG_CTS      0x08
#define NET_STATE_FLAG_INIT     0x10
#define NET_STATE_FLAG_ONEW     0x20

#define NET_MTYPE_FLAG_ONEW     0x10