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 PlatformInfo.h Source File

PlatformInfo.h

00001 #pragma once
00002 
00003 namespace MiMic
00004 {
00005     #define PlatformInfo_DETECTION_MODE_AUTO 1
00006     #define PlatformInfo_DETECTION_MODE_MBED 2
00007     #define PlatformInfo_DETECTION_MODE_LPCXPRESSO 3
00008     #define PlatformInfo_DETECTION_MODE PlatformInfo_DETECTION_MODE_AUTO
00009 
00010     class PlatformInfo
00011     {
00012     public:
00013         const static int PF_UNKNOWN=0;
00014         const static int PF_MBED=1;
00015         const static int PF_LPCXPRESSO=2;
00016         /**
00017          * This function returns platform type value.
00018          */
00019         static int getPlatformType();
00020     private:
00021         static void check();
00022         static int _pftype;
00023         PlatformInfo(){};
00024     };
00025 }