Build a custom component with internal interrupts | Cypress Semiconductor
Build a custom component with internal interrupts
I can't figure out how to create a component that has interrupts in It.
I tried doing it using a library project, but since I can't build the project and if the interrupt block isn't built I can't define the block functionality.
The same problem occurs when I try to use a design project and then add a component with a symbol and a schematic implementation (when I build the project the component itself isn't built).
Any Ideas how such a block is supposed to be built?
For example say I want to build my own counter with a clock and an an interrupt block (rising edge) , so that each interrupt increases a global variable by 1.