This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088

Dependents:   MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers EthDev.c Source File

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