summaryrefslogtreecommitdiffstats
path: root/bsps/arm/lpc176x/include/bsp/mbed-pinmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/lpc176x/include/bsp/mbed-pinmap.h')
-rwxr-xr-xbsps/arm/lpc176x/include/bsp/mbed-pinmap.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/bsps/arm/lpc176x/include/bsp/mbed-pinmap.h b/bsps/arm/lpc176x/include/bsp/mbed-pinmap.h
new file mode 100755
index 0000000000..3556bc5fbf
--- /dev/null
+++ b/bsps/arm/lpc176x/include/bsp/mbed-pinmap.h
@@ -0,0 +1,50 @@
+/**
+ * @file mbed-pinmap.h
+ *
+ * @ingroup lpc176x
+ *
+ * @brief Pins of the mbed lpc1768
+ * See http://mbed.org/media/uploads/chris/mbed-005.1.pdf for references
+ */
+
+/*
+ * Copyright (c) 2014 Taller Technologies.
+ *
+ * @author Diaz Marcos (marcos.diaz@tallertechnologies.com)
+ * @author Daniel Chicco (daniel.chicco@tallertechnologies.com)
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#define DIP5 9U
+#define DIP6 8U
+#define DIP7 7U
+#define DIP8 6U
+#define DIP9 0U
+#define DIP10 1U
+#define DIP11 18U
+#define DIP12 17U
+#define DIP13 15U
+#define DIP14 16U
+#define DIP15 23U
+#define DIP16 24U
+#define DIP17 25U
+#define DIP18 26U
+#define DIP19 62U
+#define DIP20 63U
+#define DIP21 69U
+#define DIP22 68U
+#define DIP23 67U
+#define DIP24 66U
+#define DIP25 65U
+#define DIP26 64U
+#define DIP27 11U
+#define DIP28 10U
+#define DIP29 5U
+#define DIP30 4U
+#define LED1 50U
+#define LED2 52U
+#define LED3 53U
+#define LED4 55U