Fork of the official mbed C/C++ SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format

Dependents:   NervousPuppySprintOne NervousPuppySprint2602 Robot WarehouseBot1 ... more

Fork of mbed by mbed official

Revision:
27:7110ebee3484
Parent:
18:b3c9f16cbb96
--- a/PortNames.h	Fri Feb 11 10:33:02 2011 +0000
+++ b/PortNames.h	Tue Nov 29 14:59:27 2011 +0000
@@ -1,6 +1,5 @@
 /* mbed Microcontroller Library - PortName 
- * Copyright (c) 2010 ARM Limited. All rights reserved.
- * jward
+ * Copyright (c) 2010-2011 ARM Limited. All rights reserved.
  */
 
 #ifndef MBED_PORTNAMES_H
@@ -10,7 +9,8 @@
 extern "C" {
 #endif
 
-typedef enum PortName PortName;
+#if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)
+
 enum PortName {
     Port0 = 0
     , Port1 = 1
@@ -18,6 +18,18 @@
     , Port3 = 3
     , Port4 = 4
 };
+typedef enum PortName PortName;
+
+#elif defined(TARGET_LPC11U24)
+
+enum PortName {
+    Port0 = 0
+    , Port1 = 1
+};
+typedef enum PortName PortName;
+
+
+#endif
 
 #ifdef __cplusplus
 }