|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
INCONbits.GIEL usage
I have a question about the global low priority interrupt bit. We're using timer3 to sample and integrate a gyro at 100Hz. Since its using the ADC I want to make sure that mainline code doesn't get interrupted in the middle of an ADC conversion.
In the mainline code I think we want to set the GIEL bit low, do a conversion, then set it high again. If the timer interrupt event occurs during the conversion, will the timer3 interrupt bit stay high so that it gets serviced right after resetting the GIEL bit? In the data sheets it looks like the GIEL bit just keeps the low priority vector code from running, but I'm new to the PIC and would like to verify with someone who knows their way around the chip. |
|
#2
|
|||
|
|||
|
Re: INCONbits.GIEL usage
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux usage of PBASIC | djcapelis | Programming | 2 | 25-05-2003 23:49 |
| Multiple files usage | punarhero | Programming | 2 | 12-01-2003 11:45 |
| Whats with the Serout usage? | PyroPhin | Programming | 2 | 12-01-2003 01:01 |
| material and fastener usage | archiver | 2000 | 1 | 24-06-2002 00:08 |
| Kit Materials Usage & Limitations | Rockstar75 | Rules/Strategy | 1 | 10-01-2002 17:19 |