Hey,
i'm at the moment working with an TMS570LS1224 and have written an class for the eCap Module, which works really great.
Now i want to take the code which i put in ecapNotification (in notification.c) in to my class.
I thought about an callback function and in my class i'll give an function pointer to that callback function. But that didn't work because in notification.c i can't include my class (a lot of error are thrown then).
Is there an easy way to outsource the interrupts from notification.c?
Cheers
Moritz
and thanks for help.