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

Fork of tsi_sensor by Martin Kojtal

Revision:
5:14f1557e02a0
Parent:
4:f64097679f27
--- a/tsi_sensor.h	Mon Aug 04 07:43:15 2014 +0000
+++ b/tsi_sensor.h	Tue Sep 09 19:38:11 2014 +0000
@@ -112,7 +112,7 @@
      * @throws compile-time error if target is not supported, or runtime error if pin does not match any channel.
      */
     static uint8_t getTSIChannel(PinName pin) {
-#if   defined (TARGET_KL25Z)        
+#if   defined (TARGET_KL25Z)|(TARGET_KL46Z)       
         switch(pin) {
             //these are 
             case PTA0: return 1;