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:
vomorg
Date:
Tue Sep 09 19:38:11 2014 +0000
Parent:
4:f64097679f27
Child:
7:f4bb237d08ca
Commit message:
updated: also Support for KL46Z

Changed in this revision

tsi_sensor.h Show annotated file Show diff for this revision Revisions of this file
--- 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;