Skip to content

No function for gpio irq over #265

@Volksolive

Description

@Volksolive

There is functions to invert the signal for gpio out, in and out enable (oe) but there is no function for the gpio irq signal invert, something like gpio_set_irqover to stay consistent with the other functions.
Maybe it could also be nice in the gpio_set_inover to add a third parameter like bool irqover which would invert both in and irq if true or only in if false.
I can see cases where you would want both to be inverted, for example a debounce/filter where you want the IT to start a delay and after this delay, check the state of the pin.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions