Skip to content

doc: GPIO_INT config option dependencies aren't clear #6327

@dbkinder

Description

@dbkinder

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

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions