• Calling functions & passing parameters from ISR
    Hello, I am having two problems which I think are pretty much related to each other: Problem 1: passing parameters to function called from ISR I am invoking a function from ISR. To this...
  • 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; /****************...
  • Passing Variables between Assembly & C functions
    Hi All, I'm more of a Assembly guy than C. I came across this forum when I am seeking for some quick guide of sharing data registers / variables of different files of C and .a51 in a simple program...
  • 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?
  • passing ports to a function
    I have a program in which I have to manipulate 4 LEDs. I have a function that is designed to find out exactlywhat I need to do to each LED ie flash, fade, dim, etc but in order to save on code space I...