Dmitry Kovalev
/
LGstaandart
forkd
Fork of LG2 by
Diff: CyclesSync.c
- Revision:
- 193:a0fe8bfc97e4
- Parent:
- 112:4a96133a1311
- Child:
- 201:76f4123bf22a
- Child:
- 226:4a4d5bd5fcd7
--- a/CyclesSync.c Thu Sep 01 08:23:30 2016 +0000 +++ b/CyclesSync.c Thu Sep 15 11:09:00 2016 +0000 @@ -141,14 +141,14 @@ ** Returned value: None ** ******************************************************************************/ -__irq void EINT3_IRQHandler (void) +/*__irq void EINT3_IRQHandler (void) { //LPC_GPIO2->FIOSET = 0x00000020; //e. turn on the LED LatchPhase = LPC_PWM1->TC; //e. read moment of latch LPC_TIM0->TCR = 1; //e. start Mltdrop delay timer LPC_GPIOINT->IO0IntClr |= 0x0000800;//e. clean interrupt request //LPC_GPIO2->FIOCLR = 0x00000020; //e. turn off the LED -} +}*/ /****************************************************************************** ** Function name: IntLatch_IRQHandler ** @@ -163,7 +163,7 @@ //LPC_GPIO2->FIOSET |= 0x00000080; // turn on the LED LatchPhase =(int)LPC_PWM1->TC; //e. read moment of latch LPC_TIM3->IR = 0x0001; //e. clear interrupt flag - num = Sys_Clock; + num = Sys_Clock;// // count++; //LPC_GPIO2->FIOCLR |= 0x00000080; // turn off the LED }