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
Revision 332:e53679705e69, committed 2014-09-25
- Comitter:
- mbed_official
- Date:
- Thu Sep 25 09:15:06 2014 +0100
- Parent:
- 331:098575c6d2c8
- Child:
- 333:9436d13b989f
- Commit message:
- Synchronized with git revision ebcc13f1a1e6cef5f865f1686d6d853b9214aae2
Full URL: https://github.com/mbedmicro/mbed/commit/ebcc13f1a1e6cef5f865f1686d6d853b9214aae2/
[HAL] MTS_GAMBIT - UART pin names and peripheral pins expansion.
Changed in this revision
--- a/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/TARGET_MTS_GAMBIT/PeripheralPins.c Wed Sep 24 13:15:06 2014 +0100 +++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/TARGET_MTS_GAMBIT/PeripheralPins.c Thu Sep 25 09:15:06 2014 +0100 @@ -51,6 +51,7 @@ {PTB11, UART_3, 3}, {PTA14, UART_0, 3}, {PTE4 , UART_3, 3}, + {PTE8 , UART_5, 3}, {NC , NC , 0} }; @@ -62,6 +63,7 @@ {PTB10, UART_3, 3}, {PTD2 , UART_2, 3}, {PTC6 , UART_0, 3}, + {PTE9 , UART_5, 3}, {NC , NC , 0} };
--- a/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/TARGET_MTS_GAMBIT/PinNames.h Wed Sep 24 13:15:06 2014 +0100 +++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/TARGET_MTS_GAMBIT/PinNames.h Thu Sep 25 09:15:06 2014 +0100 @@ -237,6 +237,16 @@ AP2_GPIO3 = PTA25, AP2_GPIO4 = PTA24, + // Cellular Radio Serial Pins + RADIO_SERIAL_TX = PTE8, + RADIO_SERIAL_RX = PTE9, + RADIO_SERIAL_RTS = PTE11, + RADIO_SERIAL_CTS = PTE10, + RADIO_SERIAL_DTR = PTE26, + RADIO_SERIAL_DSR = PTE25, + RADIO_SERIAL_RI = PTE24, + RADIO_SERIAL_CD = PTE12, + DAC0_OUT = 0xFEFE, /* DAC does not have Pin Name in RM */ // Not connected