-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Documentationarea: GPIO
Description
As reported on the dev mailing list, there's a dependency between GPIO_INT_EDGE and GPIO_INT that's not clear. Can this dependency be added to the Kconfig file?
I don’t understand what the documentation says for the flags:
GPIO_INT
GPIO pin to trigger interrupt.
GPIO_INT_EDGE
Do Edge trigger.
So, what I’m concluding is that you need to specify GPIO_INT to enable interrupts on the pin and then another flag like GPIO_INT_EDGE to say when in the signal processing you want the interrupt to occur? If so... makes sense (now). I thought saying GPIO_INT_EDGE was enough to enable interrupts and to say they should occur on edge. My bad.
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Documentationarea: GPIO