1
NXPTM M522XX, KINETIS and i.MX RT / Re: enable_irq(INT_FTM0-16)
« on: March 07, 2013, 09:02:25 AM »
Hi Mark
I think this giving me some problems. I am having the interrupt outside the kinetis.c. I am making a prototype:
extern void fnEnterInterrupt(int, int, void (*InterruptFunc)(void)); and put it to timer.h, then i check that there is a connection to kinetis.c, and it is working. I am using the function in timer.c, in the end off my timer configuration. The compiler is getting a error saying, undefined: "fnEnterInterrupt"
i have be trying to define the variables in the prototype but it still get error ?
I think this giving me some problems. I am having the interrupt outside the kinetis.c. I am making a prototype:
extern void fnEnterInterrupt(int, int, void (*InterruptFunc)(void)); and put it to timer.h, then i check that there is a connection to kinetis.c, and it is working. I am using the function in timer.c, in the end off my timer configuration. The compiler is getting a error saying, undefined: "fnEnterInterrupt"
i have be trying to define the variables in the prototype but it still get error ?