Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more
Diff: targets/TARGET_RENESAS/TARGET_RZA1XX/ethernetext_api.h
- Revision:
- 0:f782d9c66c49
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/targets/TARGET_RENESAS/TARGET_RZA1XX/ethernetext_api.h Fri Feb 02 05:42:23 2018 +0000 @@ -0,0 +1,20 @@ + +/* PHY link mode */ +#define NEGO_FAIL (0) +#define HALF_10M (1) +#define FULL_10M (2) +#define HALF_TX (3) +#define FULL_TX (4) + +typedef void (ethernetext_cb_fnc)(void); + +typedef struct tag_ethernet_cfg { + int int_priority; + ethernetext_cb_fnc *recv_cb; + char *ether_mac; +} ethernet_cfg_t; + +extern int ethernetext_init(ethernet_cfg_t *p_ethcfg); +extern void ethernetext_start_stop(int32_t mode); +extern int ethernetext_chk_link_mode(void); +extern void ethernetext_set_link_mode(int32_t link);