EDF - OnePIC MCU  v1.1.0
source/16bit/OnePIC_16bit_isr.c
Go to the documentation of this file.
00001 
00009 #include "OnePIC_isr.h"
00010 #include "OnePIC_lcd.h"
00011 #include "OnePIC_int.h"
00012 #include "mTouch.h"
00013 
00017 void __attribute__((interrupt, shadow, auto_psv)) _T1Interrupt(void)
00018 {
00019     MTouchDecode();
00020     MTouchAcquisition(); 
00021     EDF_mTouchPoll();
00022 #ifdef MTOUCH_JITTER_ENABLE
00023     TMR1 = MTouchJitter(); // random number 0-31
00024 #endif
00025     EDF_TMR_Counter16BitSet(INT_TMR_1, 0xFF00);
00026     EDF_INT_SourceFlagClear(INT_TMR_1);
00027     
00028 }