Hello, You can do this in software: check the line status if it is low, then you set the interrupt to rising edge and if it is high you set to falling edge, any time the interrupt happens, you carefully change to falling or rising depending on the status.
On Mon, Mar 17, 2025 at 22:18 Matteo Golin <matteo.go...@gmail.com> wrote: > Hello everyone, > > I have an application wherein I am using a W5500-EVB Pico as the MCU for a > network controlled system. I need to connect > several switch inputs into this MCU. The switches are normally held high > via the RP2040's internal pullups, and pulled > low when flipped. > > The problem I'm encountering is that it appears that the current RP2040 > support only allows for one type of interrupt > per pin: either rising edge or falling edge. I need to trigger on both > rising and falling edge to accurately track the > state of the switch. I'm wondering if anyone else has had a similar issue > or has suggestions about how I can resolve > this. > > Thanks, > > -- > Matteo Golin >