I'm using a Timer2 interrupt on the timer's value match to PR2. I would like to enable/disable the interrupt function during the course of my program. Is it better to enable/disable using global interrupt enable GIE (INTCON bit 7) or timer 2 interrupt enable TMR2IE (PIE1 bit1)?


 
		
		 
						
					 
			 
			 
			 
					
					 Timer2 Interrupt, 16F1823
 Timer2 Interrupt, 16F1823
		

 
						
					

Bookmarks