Quantcast
Channel: Cypress Semiconductor - PSoC 4 Architecture
Viewing all articles
Browse latest Browse all 796

Find digital input interrupt source

$
0
0

Hi,

I have digital input component (SW) configured for 3 inputs (One, Two, Three) sharing the same falling edge interrupt isr_SW. Physically they all connected to P0[0], P0[1], P0[2] - same PSOC 4000 device port.

How can I determine which pin (for example "SW_One") triggered interrupt from within an isr_SW handler?

Alex


Viewing all articles
Browse latest Browse all 796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>