t
Fork of mbed-dev by
targets/TARGET_RENESAS/TARGET_RZ_A1H/ethernetext_api.h@149:156823d33999, 2016-10-28 (annotated)
- Committer:
- <>
- Date:
- Fri Oct 28 11:17:30 2016 +0100
- Revision:
- 149:156823d33999
- Parent:
- targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/ethernetext_api.h@119:3921aeca8633
This updates the lib to the mbed lib v128
NOTE: This release includes a restructuring of the file and directory locations and thus some
include paths in your code may need updating accordingly.
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); |