ext1isr is the function. Im trying to make a pointer to a function.
Originally Posted by wolf99
So I have the rest of the pointer manipulation working bar trying to assign the functions address to the pointer.
In Keil C (and ANSI C AFAIK) the code would be this:
Which is what seems to be throwing the only error that functionName is an undefined identifier....
pIsr = &functionName;
I placed the ISR function above the main() in the file and the error leaves but is replaced by a warning: "redundant "&" applied to function" which makes me think that what is happening here is that the program is actually calling the function and expecting a variable to be returned that will then be placed in the variable pISR, some thing like if I had written:
int x = add(5,5) // expect x = 10