OSDN Git Service

update libMiMic
[mimic/MiMicSDK.git] / lib / src / driver / ethernet / k64f / EthDev.c
diff --git a/lib/src/driver/ethernet/k64f/EthDev.c b/lib/src/driver/ethernet/k64f/EthDev.c
new file mode 100644 (file)
index 0000000..562714d
--- /dev/null
@@ -0,0 +1,21 @@
+#include "NyLPC_config.h"
+#if NyLPC_MCU==NyLPC_MCU_K64F
+
+#include "../EthDev.h"
+#include "EtherDev_K64F_protected.h"
+
+
+
+const struct TiEthernetDevice* getEthernetDevicePnP(void)
+{
+       const struct TiEthernetDevice* ret;
+       if(EthDev_K64F_getInterface(&ret)){
+               return ret;
+       }
+       return NULL;
+}
+
+
+#endif
+
+