![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LGstaandart by
Diff: MTimer.c
- Revision:
- 169:140743e3bb96
- Parent:
- 165:b2bd0c810a4f
- Child:
- 170:d099c3025f87
--- a/MTimer.c Mon Jun 06 14:07:45 2016 +0000 +++ b/MTimer.c Tue Jun 07 14:03:04 2016 +0000 @@ -186,8 +186,6 @@ ////////////////////////////////////////////////////////////////////// __irq void TIMER1_IRQHandler (void) { -BackLightON -// LoopOn ResetCS(ADC); //prepare ADC for sampling SetDAC(DAC); @@ -195,8 +193,6 @@ CountV255 &= 0xff; // ОБРЕЗАНИЕ СЧЕТЧИКА CountV31 =CountV255 & 0x1f; // малый счетчик -//if(CountV31==0) { BackLightON } - D_QEI(); //чтение данных по счетчику cheng(); // выставление флагов в 32 тактном цикле. @@ -206,8 +202,7 @@ SPI_Exchange(); //Чтение ADS_SPI LPC_TIM1->IR = 1; - // LoopOff -BackLightOFF + } @@ -219,11 +214,9 @@ /////////////////////////прерывание таймера 2////////////////////////// /////////////////////////////////////////////////////////////////////// __irq void TIMER2_IRQHandler (void) -{ //BackLightON - LoopOn +{ LPC_TIM2->IR = 1; - Global_Time++; Time_UART++; @@ -233,6 +226,4 @@ Gyro.VibroOutF=1; Event100K ++; - // BackLightOFF - LoopOff } \ No newline at end of file