The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
bogdanm
Date:
Thu Nov 27 13:33:22 2014 +0000
Revision:
92:4fc01daae5a5
Child:
95:7e07b6fb45cf
Release 92 of the mbed libray

Main changes:

- nRF51822: fixed pin assignment issues
- ST targets moving to the STM32Cube driver
- LPC1439: fixed serial interrupt issue
- first Cortex-A platform supported in mbed (RZ_A1H)

Who changed what in which revision?

UserRevisionLine numberNew 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);
bogdanm 92:4fc01daae5a5 20 extern void ethernetext_set_link_mode(int link);