Hi!

I need to disable interrupts for some functions because they are called from main() and from interrupt. I was trying __critical keyword but it seems to be doing nothing. Does __critical work for PIC16 port? If it doesn't, how do you do it?

Thanks a lot.