Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
EthDev.c
00001 #include "NyLPC_config.h" 00002 #if NyLPC_MCU==NyLPC_MCU_LPC17xx 00003 00004 #include "../EthDev.h" 00005 #include "EtherDev_DP83848C_protected.h" 00006 #include "EtherDev_LAN8720_protected.h" 00007 00008 00009 00010 const struct TiEthernetDevice* getEthernetDevicePnP(void) 00011 { 00012 const struct TiEthernetDevice* ret; 00013 if(EthDev_LAN8720_getInterface(&ret)){ 00014 return ret; 00015 } 00016 if(EthDev_DP83848C_getInterface(&ret)){ 00017 return ret; 00018 } 00019 return NULL; 00020 } 00021 00022 00023 #endif 00024 00025
Generated on Tue Jul 12 2022 15:46:14 by
