Re: GPIO subsystem and interrupts -- no way to do rising & falling edge on same pin?

Jason Thorpe <[email protected]> Thu, 03 May 2018 08:57:27 -0700
Newsgroups gmane.os.netbsd.devel.embedded
Message-ID <[email protected]>

> On May 3, 2018, at 7:29 AM, Dave McGuire <[email protected]> =
wrote:
>  Would it be practical to use that last bit to indicate a "spillover"
> condition into another word to gain additional bits?


I suppose it would=E2=80=A6 but it still changes the API (gotta put the =
additional bits somewhere), at which point you might as well just make =
it 64-bits and be done with it.

Still mulling over what the best solution is=E2=80=A6 there=E2=80=99s =
other problems with the way gpio_intr() works (it=E2=80=99s not really =
suitable as-is for level-triggered sources), and so a bunch of tweaks =
will be necessary.

-- thorpej