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.
Fork of libMiMic by
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 }
Generated on Tue Jul 12 2022 16:22:59 by
