-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
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 requestNew feature or request