Possible to change interrupt trigger type at runtime?

Hello!

Is it possible to change the Interrupt trigger type (edge/level high/low/both)
before/when attaching to an interrupt? (like Linux’ set_irq_type() call)

If yes, what callout is required to do this?

Thanks!
Manuel Lauss

It is not possible and is in fact pretty much determine by the hardware.

You might be able do to it yourself by playing with the hardware register directly but you really need to know what you are doing. Changing PCI devices to edge detection can be very bad.

Nothing fancy like PCI, just for a group of GPIO input pins.
Yeah, I could fiddle with the appropriate registers directly from userspace,
but I was looking for a more platform-independent solution (if there is any).