useless
Dependents: Final_Homework1 ee202Homework1 EE202A_Homework1 PRVIZ_LV8
Fork of TSI by
Diff: TSISensor.cpp
- Revision:
- 3:1a60ef257879
- Parent:
- 1:4dd9262cac47
- Child:
- 4:4dc2f5a3a731
--- a/TSISensor.cpp Fri Oct 12 11:42:12 2012 +0000 +++ b/TSISensor.cpp Thu May 09 09:24:34 2013 +0000 @@ -123,7 +123,6 @@ selfCalibration(); } - void TSISensor::selfCalibration(void) { unsigned char cnt; @@ -164,7 +163,6 @@ TSI0->DATA |= TSI_DATA_SWTS_MASK; } - void TSISensor::sliderRead(void ) { if(end_flag) { end_flag = 0; @@ -196,7 +194,6 @@ return AbsoluteDistancePosition; } - static void changeElectrode(void) { int16_t u16temp_delta; @@ -221,11 +218,9 @@ } } - void tsi_irq(void) { end_flag = 1; TSI0->GENCS |= TSI_GENCS_EOSF_MASK; // Clear End of Scan Flag changeElectrode(); } -