A library for Freescale MCU which contain TSI peripheral, just for Kinetis L version. Because they use "lighter" version of TSI peripheral.

Dependents:   kl25z-tinyshell-demo tsi_slider_light_senso_LED frdm_tsi_slider_led_blend demo_slider ... more

This library is "fork" of the TSI library created by the mbed team.

Files at this revision

API Documentation at this revision

Comitter:
josephc3
Date:
Fri Jun 12 19:26:51 2015 +0000
Parent:
8:395a4619c41f
Child:
10:976904559b5c
Commit message:
Added PTC2 mapping to TSI0_CH15 for KL46 and KL25

Changed in this revision

tsi_sensor.h Show annotated file Show diff for this revision Revisions of this file
--- a/tsi_sensor.h	Wed Apr 15 08:22:29 2015 +0000
+++ b/tsi_sensor.h	Fri Jun 12 19:26:51 2015 +0000
@@ -131,6 +131,7 @@
 #if   defined(TARGET_KL25Z) || defined(TARGET_KL46Z)
             case PTC0: return 13;
             case PTC1: return 14;
+            case PTC2: return 15;
 #endif
             default: error("PinName provided to TSIElectrode::getTSIChannel() does not correspond to any known TSI channel.");
         }