mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

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

Committer:
mbed_official
Date:
Fri Sep 11 09:30:09 2015 +0100
Revision:
621:9c82b0f79f3d
Parent:
482:d9a48e768ce0
Synchronized with git revision 6c1d63e069ab9bd86de92e8296ca783681257538

Full URL: https://github.com/mbedmicro/mbed/commit/6c1d63e069ab9bd86de92e8296ca783681257538/

ignore target files not supported by the yotta module

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 390:35c2c1cf29cd 1
mbed_official 390:35c2c1cf29cd 2 /* PHY link mode */
mbed_official 390:35c2c1cf29cd 3 #define NEGO_FAIL (0)
mbed_official 390:35c2c1cf29cd 4 #define HALF_10M (1)
mbed_official 390:35c2c1cf29cd 5 #define FULL_10M (2)
mbed_official 390:35c2c1cf29cd 6 #define HALF_TX (3)
mbed_official 390:35c2c1cf29cd 7 #define FULL_TX (4)
mbed_official 390:35c2c1cf29cd 8
mbed_official 390:35c2c1cf29cd 9 typedef void (ethernetext_cb_fnc)(void);
mbed_official 390:35c2c1cf29cd 10
mbed_official 390:35c2c1cf29cd 11 typedef struct tag_ethernet_cfg {
mbed_official 390:35c2c1cf29cd 12 int int_priority;
mbed_official 390:35c2c1cf29cd 13 ethernetext_cb_fnc *recv_cb;
mbed_official 390:35c2c1cf29cd 14 char *ether_mac;
mbed_official 390:35c2c1cf29cd 15 } ethernet_cfg_t;
mbed_official 390:35c2c1cf29cd 16
mbed_official 390:35c2c1cf29cd 17 extern int ethernetext_init(ethernet_cfg_t *p_ethcfg);
mbed_official 390:35c2c1cf29cd 18 extern void ethernetext_start_stop(int32_t mode);
mbed_official 390:35c2c1cf29cd 19 extern int ethernetext_chk_link_mode(void);
mbed_official 482:d9a48e768ce0 20 extern void ethernetext_set_link_mode(int32_t link);