Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: Interrupts don't work

$
0
0
Hi Samedsahinoglu, Why do you place "EI();" at the end of the interrupt function? It will automatically return to the previous PSW(interrupt enable) state when exiting from the interrupt. So, once interrupt enable in the main routine, "EI();" is not required in the interrupt routine as long as you are not using multiple interrupt.

Viewing all articles
Browse latest Browse all 59170

Trending Articles