A library for Freescale MCU which contain TSI peripheral, just for Kinetis L version. Because they use "lighter" version of TSI peripheral.
Fork of tsi_sensor by
Revision 5:3e676c0a1d2d, committed 2014-10-29
- Comitter:
- ac23g12
- Date:
- Wed Oct 29 10:40:55 2014 +0000
- Parent:
- 4:f64097679f27
- Commit message:
- lab fixing
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 Wed Oct 29 10:40:55 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;