• Problem with global variables and Interrupt Service Routines
    Hi! I've many interrupt service routines on my current project! But I didn't succeed in passing data between the main function and the ISRs! I declared global variables (no difference if static...
  • Problem with global variables and Interrupt Service Routines
    Hi! I've many interrupt service routines on my current project! But I didn't succeed in passing data between the main function and the ISRs! I declared global variables (no difference if static...
  • program halt when using interrupt + Compact code size + global variable
    Hi all: My chip is Cypress 68013 56pin. I am trying to use interrupt in my code. I also use a global variable to be interrupt indicator. The result is : program halt. I did some test and got...
  • program halt when using interrupt + Compact code size + global variable
    Hi all: My chip is Cypress 68013 56pin. I am trying to use interrupt in my code. I also use a global variable to be interrupt indicator. The result is : program halt. I did some test and got...
  • How can I use a global variable in the Interrupt routine?
    The variable is defined in *.h: static unsigned char cPwLe[3] = {0}; Its value is changed in the Main() : cPwLe[cCh] = Power_Level(cP[cCh]); //Here value is right Its value is transfered...