Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.
Dependents: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
TARGET_RZ_A1H/TARGET_RENESAS/TARGET_RZ_A1H/ethernetext_api.h@95:7e07b6fb45cf, 2015-03-04 (annotated)
- Committer:
- Kojto
- Date:
- Wed Mar 04 07:31:39 2015 +0100
- Revision:
- 95:7e07b6fb45cf
- Parent:
- 92:4fc01daae5a5
Release 95 of the mbed library
Main changes:
- new platform: APPNEARME_MICRONFCBOARD
- LPC 8xx - us ticker and pwm out fixes
- RZ_A1H - GCC support, fixes in Ticker and Serial
- IAR - stack and heap corrections for few targets
- us ticker - get next timestamp function addition
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 92:4fc01daae5a5 | 1 | |
bogdanm | 92:4fc01daae5a5 | 2 | /* PHY link mode */ |
bogdanm | 92:4fc01daae5a5 | 3 | #define NEGO_FAIL (0) |
bogdanm | 92:4fc01daae5a5 | 4 | #define HALF_10M (1) |
bogdanm | 92:4fc01daae5a5 | 5 | #define FULL_10M (2) |
bogdanm | 92:4fc01daae5a5 | 6 | #define HALF_TX (3) |
bogdanm | 92:4fc01daae5a5 | 7 | #define FULL_TX (4) |
bogdanm | 92:4fc01daae5a5 | 8 | |
bogdanm | 92:4fc01daae5a5 | 9 | typedef void (ethernetext_cb_fnc)(void); |
bogdanm | 92:4fc01daae5a5 | 10 | |
bogdanm | 92:4fc01daae5a5 | 11 | typedef struct tag_ethernet_cfg { |
bogdanm | 92:4fc01daae5a5 | 12 | int int_priority; |
bogdanm | 92:4fc01daae5a5 | 13 | ethernetext_cb_fnc *recv_cb; |
bogdanm | 92:4fc01daae5a5 | 14 | char *ether_mac; |
bogdanm | 92:4fc01daae5a5 | 15 | } ethernet_cfg_t; |
bogdanm | 92:4fc01daae5a5 | 16 | |
bogdanm | 92:4fc01daae5a5 | 17 | extern int ethernetext_init(ethernet_cfg_t *p_ethcfg); |
bogdanm | 92:4fc01daae5a5 | 18 | extern void ethernetext_start_stop(int32_t mode); |
bogdanm | 92:4fc01daae5a5 | 19 | extern int ethernetext_chk_link_mode(void); |
Kojto | 95:7e07b6fb45cf | 20 | extern void ethernetext_set_link_mode(int32_t link); |