10 Replies Latest reply on Jan 24, 2016 6:39 AM by user_1570836

    Use components from ISR - best practice

              Greetings, I have bought CY8CKIT-059 kit recently, its my first Cypress board. In a program, I need to access components defined in TopDesign.cysch from an ISR routine. I have defined a function (I don't remember in what .h file, the definition got deleted), placed its code to main.c file, and I am calling it from ISR defined in generated source file isr_updatereg.c . It is working how I need it, but as the function definition got deleted from .h file, I feel that I am violating some best-practice rules, or similar. How would you use components from ISR? I have attached related files in a ZIP archive.