123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
-
- #ifndef MBED_INTERFACE_H
- #define MBED_INTERFACE_H
-
- #include "device.h"
-
-
- #define MBED_MAC_ADDR_INTERFACE 0x00
- #define MBED_MAC_ADDR_0 MBED_MAC_ADDR_INTERFACE
- #define MBED_MAC_ADDR_1 MBED_MAC_ADDR_INTERFACE
- #define MBED_MAC_ADDR_2 MBED_MAC_ADDR_INTERFACE
- #define MBED_MAC_ADDR_3 MBED_MAC_ADDR_INTERFACE
- #define MBED_MAC_ADDR_4 MBED_MAC_ADDR_INTERFACE
- #define MBED_MAC_ADDR_5 MBED_MAC_ADDR_INTERFACE
- #define MBED_MAC_ADDRESS_SUM (MBED_MAC_ADDR_0 | MBED_MAC_ADDR_1 | MBED_MAC_ADDR_2 | MBED_MAC_ADDR_3 | MBED_MAC_ADDR_4 | MBED_MAC_ADDR_5)
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #if DEVICE_SEMIHOST
-
-
-
-
- int mbed_interface_connected(void);
-
-
- int mbed_interface_reset(void);
-
-
- int mbed_interface_disconnect(void);
-
-
- int mbed_interface_powerdown(void);
-
-
- int mbed_interface_uid(char *uid);
-
- #endif
-
-
- void mbed_mac_address(char *mac);
-
-
- void mbed_die(void);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
|