• #if ISR
    I have created a very useful macro that will have disastrous results if it is used inside an ISR. A few years from now some unsuspecting soul (who could be me) will probably use it inside an ISR and spend...
  • PROBLEM USING ISR
    sir, in below code how do we get to know that interrupt is enabled or not?..because in step into the control is not going to ISR . #include<stdio.h> #include <ADUC842.H> sbit intr=P0^2; void...
  • Problem with recursive ISR
    Dear All, My requirement is: If a particular byte is received thro UART0, I have to do some action which will take more than 500 ms. I cant do those actions in the ISR itself as it takes a long time...
  • ISR and Function, using problem
    Hello! I have same code #define N_command 10 void Shift_query(struct query *spi_command_query); struct query{unsigned char cmd; unsigned char word; unsigned char rw; }query; /****************...
  • problem about function calling in ISR
    I call some sub-routine in ISR. And I mark the ISR as "using 1". But I find out this will lead to the error of parameters passing from ISR to the sub-routine. How come?