Last change
on this file since 352 was 352, checked in by coas-nagasima, 6 years ago |
arm向けASP3版ECNLを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
656 bytes
|
Line | |
---|
1 |
|
---|
2 | /* PHY link mode */
|
---|
3 | #define NEGO_FAIL (0)
|
---|
4 | #define HALF_10M (1)
|
---|
5 | #define FULL_10M (2)
|
---|
6 | #define HALF_TX (3)
|
---|
7 | #define FULL_TX (4)
|
---|
8 |
|
---|
9 | #define PROMISCUOUS_MODE (0x80000000)
|
---|
10 |
|
---|
11 | typedef void (ethernetext_cb_fnc)(void);
|
---|
12 |
|
---|
13 | typedef struct tag_ethernet_cfg {
|
---|
14 | int int_priority;
|
---|
15 | ethernetext_cb_fnc *recv_cb;
|
---|
16 | char *ether_mac;
|
---|
17 | } ethernet_cfg_t;
|
---|
18 |
|
---|
19 | extern int ethernetext_init(ethernet_cfg_t *p_ethcfg);
|
---|
20 | extern void ethernetext_start_stop(int32_t mode);
|
---|
21 | extern int ethernetext_chk_link_mode(void);
|
---|
22 | extern void ethernetext_set_link_mode(int32_t link);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.