123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
-
- #ifndef MBED_ETHERNET_API_H
- #define MBED_ETHERNET_API_H
-
- #include "device.h"
-
- #if DEVICE_ETHERNET
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
-
-
- int ethernet_init(void);
- void ethernet_free(void);
-
-
-
-
- int ethernet_write(const char *data, int size);
-
-
- int ethernet_send(void);
-
-
- int ethernet_receive(void);
-
-
-
- int ethernet_read(char *data, int size);
-
-
- void ethernet_address(char *mac);
-
-
- int ethernet_link(void);
-
-
- void ethernet_set_link(int speed, int duplex);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-
- #endif
-
|