This fork of the MBED Library allows you to use counters on the external counter pins (15/16 for Timer 3, 29/30 for Timer 2) by switching internal timing functions in MBED to utilize Timer 0

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Sat Sep 27 12:30:08 2014 +0100
Parent:
332:e53679705e69
Child:
334:c5736b48acaf
Commit message:
Synchronized with git revision 25ff4eb5b4025ed38c883618594d1d94ea4553fd

Full URL: https://github.com/mbedmicro/mbed/commit/25ff4eb5b4025ed38c883618594d1d94ea4553fd/

[HAL] K22F - UART pinnames

Changed in this revision

targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K22F/PeripheralPins.c Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K22F/PeripheralPins.c	Thu Sep 25 09:15:06 2014 +0100
+++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K22F/PeripheralPins.c	Sat Sep 27 12:30:08 2014 +0100
@@ -76,17 +76,25 @@
 
 /************UART***************/
 const PinMap PinMap_UART_TX[] = {
-    {PTA2, UART_0, 2},
-    {PTE0, UART_1, 3},
-    {PTD3, UART_2, 3},
-    {NC  ,  NC    , 0}
+    {PTA2 , UART_0, 2},
+    {PTA14, UART_0, 3},
+    {PTB17, UART_0, 3},
+    {PTD7 , UART_0, 3},
+    {PTC4 , UART_1, 3},
+    {PTE0 , UART_1, 3},
+    {PTD3 , UART_2, 3},
+    {NC   ,  NC   , 0}
 };
 
 const PinMap PinMap_UART_RX[] = {
-    {PTA1, UART_0, 2},
-    {PTE1, UART_1, 3},
-    {PTD2, UART_2, 3},
-    {NC  ,  NC    , 0}
+    {PTA1 , UART_0, 2},
+    {PTA15, UART_0, 3},
+    {PTB16, UART_0, 3},
+    {PTD6 , UART_0, 3},
+    {PTC3 , UART_1, 3},
+    {PTE1 , UART_1, 3},
+    {PTD2 , UART_2, 3},
+    {NC   ,  NC    , 0}
 };
 
 /************SPI***************/