source: asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZ_A1H/ethernetext_api.h@ 352

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
11typedef void (ethernetext_cb_fnc)(void);
12
13typedef struct tag_ethernet_cfg {
14 int int_priority;
15 ethernetext_cb_fnc *recv_cb;
16 char *ether_mac;
17} ethernet_cfg_t;
18
19extern int ethernetext_init(ethernet_cfg_t *p_ethcfg);
20extern void ethernetext_start_stop(int32_t mode);
21extern int ethernetext_chk_link_mode(void);
22extern void ethernetext_set_link_mode(int32_t link);
Note: See TracBrowser for help on using the repository browser.