source: EcnlProtoTool/trunk/asp3_dcre/mbed/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/ethernetext_api.h@ 270

Last change on this file since 270 was 270, checked in by coas-nagasima, 7 years ago

mruby版ECNLプロトタイピング・ツールを追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 610 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
9typedef void (ethernetext_cb_fnc)(void);
10
11typedef struct tag_ethernet_cfg {
12 int int_priority;
13 ethernetext_cb_fnc *recv_cb;
14 char *ether_mac;
15} ethernet_cfg_t;
16
17extern int ethernetext_init(ethernet_cfg_t *p_ethcfg);
18extern void ethernetext_start_stop(int32_t mode);
19extern int ethernetext_chk_link_mode(void);
20extern void ethernetext_set_link_mode(int32_t link);
Note: See TracBrowser for help on using the repository browser.