This content has been marked as final. Show 2 replies
Hi qing-san, Pin-direct isr(isrLick0_rise) and Pins isr(isrLick0), Of course both are working. ISR property only can select a rise-edge but to through an invert logic can be select fall-edge. Besides, Pins isr(isrLick0) can reduce interruption resources, One ISR for multi pins. [input] tab of PIns property can select rise and fall. I recommand use Pins ISR and select [derived] in ISR property. That is neat I think. To use Pins-ISR, need one notice. Have to ensure clearing ISR in ISR routine. [uint8 Pin_ClearInterrupt(void);] That is my experience and the article is here http://www.cypress.com/?app=forum&id=2232&rID=75317 Please refer bundle design. Happy Interruption..