I want to trigger an interrupt at both edges ( high-to-low and low-to-high), but my GPIO is pulled high externally (on hardware). So my IRQ gets triggered as soon as the system is powered (as it is pulled up externally, it sees low-to-high and fires IRQ)
I want to ignore the initial/first trigger (which is present in my hardware design and is not due to external system it is connected to). So what is the right procedure/steps to attach an IRQ in my case.
Steps followed so far :
Present Scenario : (a) Pin made to detect both edges
(b) Pin pulled high - externally
Steps incorporated : (a)Cleared pending IRQ
(c) Attached handler
Kindly let me know the solution for the problem I'm facing at the earliest.