Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Revision:
71:8fabd470bb6e
Parent:
66:9c8f0e3462fb
Child:
77:869cf507173a
--- a/TARGET_KL25Z/PeripheralNames.h	Mon Nov 18 22:09:31 2013 +0200
+++ b/TARGET_KL25Z/PeripheralNames.h	Tue Dec 03 13:02:41 2013 +0200
@@ -82,6 +82,31 @@
     SPI_1 = (int)SPI1_BASE,
 } SPIName;
 
+// Default peripherals
+#define MBED_SPI0         PTD2, PTD3, PTD1, PTD0
+
+#define MBED_UART0        PTC4, PTC3
+#define MBED_UART1        PTD3, PTD2
+#define MBED_UARTUSB      PTA2, PTA1
+
+#define MBED_I2C0         PTC9, PTC8
+#define MBED_I2C1         PTE1, PTE0
+
+#define MBED_ANALOGOUT0   PTE30
+
+#define MBED_ANALOGIN0    PTC2
+#define MBED_ANALOGIN1    PTB3
+#define MBED_ANALOGIN2    PTB2
+#define MBED_ANALOGIN3    PTB1
+#define MBED_ANALOGIN4    PTB0
+
+#define MBED_PWMOUT0      PTD4
+#define MBED_PWMOUT1      PTA12
+#define MBED_PWMOUT2      PTA4
+#define MBED_PWMOUT3      PTA5
+#define MBED_PWMOUT4      PTC8
+#define MBED_PWMOUT5      PTC9
+
 #ifdef __cplusplus
 }
 #endif