added prescaler for 16 bit pwm in LPC1347 target

Fork of mbed-dev by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Fri Mar 11 08:15:10 2016 +0000
Parent:
87:444eeba2d452
Child:
89:76c2ee472b3f
Commit message:
Synchronized with git revision f178fc4835d5873ddc48b26492d9974308757e94

Full URL: https://github.com/mbedmicro/mbed/commit/f178fc4835d5873ddc48b26492d9974308757e94/

Change the uart pin to DIP pin for XBED_LPC1768

Changed in this revision

targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/PinNames.h Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/PinNames.h	Wed Mar 09 18:00:10 2016 +0000
+++ b/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/PinNames.h	Fri Mar 11 08:15:10 2016 +0000
@@ -72,17 +72,19 @@
     LED3 = P1_21,
     LED4 = P1_23,
 
-    USBTX = P0_2,
-    USBRX = P0_3,
+    //For USB UART
+    //USBTX = P0_2,
+    //USBRX = P0_3,
 
 	//xbed lpc1768 Pin Names
-	LED5 = P2_6,
-	BTN1 = P2_8,
-	SDA = P0_27,
-	SCL = P0_28,
-	ISP = P2_10,
-	CLK = P1_27,
-
+    LED5 = P2_6,
+    BTN1 = P2_8,
+    SDA = P0_27,
+    SCL = P0_28,
+    ISP = P2_10,
+    CLK = P1_27,
+    USBTX = P2_0, //DIP26
+    USBRX = P2_1, //DIP25
 
 
     // Arch Pro Pin Names