mbed library sources

Dependents:   frdm_kl05z_gpio_test

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Aug 11 08:45:06 2014 +0100
Parent:
277:0dffe5d9e928
Child:
279:26b9e96a0278
Commit message:
Synchronized with git revision 9c4ba9aae25c7342a52a2af676a339dc6213c363

Full URL: https://github.com/mbedmicro/mbed/commit/9c4ba9aae25c7342a52a2af676a339dc6213c363/

[GHI_MBUINO] Added the symbol PinMap_I2C_SDA[] and PinMap_I2C_SCL[] to the Peripheral...

Changed in this revision

targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_GHI_MBUINO/PeripheralPins.c Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_GHI_MBUINO/PeripheralPins.c	Fri Aug 08 14:30:08 2014 +0100
+++ b/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_GHI_MBUINO/PeripheralPins.c	Mon Aug 11 08:45:06 2014 +0100
@@ -30,18 +30,25 @@
     {NC   , NC    , 0   }
 };
 
+/************I2C***************/
+const PinMap PinMap_I2C_SDA[] = {
+    {P0_5, I2C_0, 1},
+    {NC  , NC   , 0}
+};
+
+const PinMap PinMap_I2C_SCL[] = {
+    {P0_4, I2C_0, 1},
+    {NC  , NC,    0}
+};
+
 /************UART***************/
 const PinMap PinMap_UART_TX[] = {
     {P0_19, UART_0, 1},
-//    {P1_13, UART_0, 3},
-//    {P1_27, UART_0, 2},
     { NC  , NC    , 0}
 };
 
 const PinMap PinMap_UART_RX[] = {
     {P0_18, UART_0, 1},
-//    {P1_14, UART_0, 3},
-//    {P1_26, UART_0, 2},
     {NC   , NC    , 0}
 };
 
@@ -49,30 +56,25 @@
 const PinMap PinMap_SPI_SCLK[] = {
     {P0_6 , SPI_0, 0x02},
     {P0_10, SPI_0, 0x02},
-//    {P1_29, SPI_0, 0x01},
     {P1_15, SPI_1, 0x03},
-//    {P1_20, SPI_1, 0x02},
     {NC   , NC   , 0}
 };
 
 const PinMap PinMap_SPI_MOSI[] = {
     {P0_9 , SPI_0, 0x01},
     {P0_21, SPI_1, 0x02},
-//    {P1_22, SPI_1, 0x02},
     {NC   , NC   , 0}
 };
 
 const PinMap PinMap_SPI_MISO[] = {
     {P0_8 , SPI_0, 0x01},
     {P0_22, SPI_1, 0x03},
-//    {P1_21, SPI_1, 0x02},
     {NC   , NC   , 0}
 };
 
 const PinMap PinMap_SPI_SSEL[] = {
     {P0_2 , SPI_0, 0x01},
     {P1_19, SPI_1, 0x02},
-//    {P1_23, SPI_1, 0x02},
     {NC   , NC   , 0}
 };