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.
Fork of mbed-dev by
targets/TARGET_RENESAS/TARGET_RZ_A1H/ethernetext_api.h@153:da99e106a1c2, 2016-12-21 (annotated)
- Committer:
- fwndz
- Date:
- Wed Dec 21 13:29:33 2016 +0000
- Revision:
- 153:da99e106a1c2
- Parent:
- 149:156823d33999
init
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mbed_official | 119:3921aeca8633 | 1 | |
| mbed_official | 119:3921aeca8633 | 2 | /* PHY link mode */ |
| mbed_official | 119:3921aeca8633 | 3 | #define NEGO_FAIL (0) |
| mbed_official | 119:3921aeca8633 | 4 | #define HALF_10M (1) |
| mbed_official | 119:3921aeca8633 | 5 | #define FULL_10M (2) |
| mbed_official | 119:3921aeca8633 | 6 | #define HALF_TX (3) |
| mbed_official | 119:3921aeca8633 | 7 | #define FULL_TX (4) |
| mbed_official | 119:3921aeca8633 | 8 | |
| mbed_official | 119:3921aeca8633 | 9 | typedef void (ethernetext_cb_fnc)(void); |
| mbed_official | 119:3921aeca8633 | 10 | |
| mbed_official | 119:3921aeca8633 | 11 | typedef struct tag_ethernet_cfg { |
| mbed_official | 119:3921aeca8633 | 12 | int int_priority; |
| mbed_official | 119:3921aeca8633 | 13 | ethernetext_cb_fnc *recv_cb; |
| mbed_official | 119:3921aeca8633 | 14 | char *ether_mac; |
| mbed_official | 119:3921aeca8633 | 15 | } ethernet_cfg_t; |
| mbed_official | 119:3921aeca8633 | 16 | |
| mbed_official | 119:3921aeca8633 | 17 | extern int ethernetext_init(ethernet_cfg_t *p_ethcfg); |
| mbed_official | 119:3921aeca8633 | 18 | extern void ethernetext_start_stop(int32_t mode); |
| mbed_official | 119:3921aeca8633 | 19 | extern int ethernetext_chk_link_mode(void); |
| mbed_official | 119:3921aeca8633 | 20 | extern void ethernetext_set_link_mode(int32_t link); |
