Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5033

General • Re: Latching an "interrupt"

$
0
0
MCP23017 has INTA and INTB. When asserted, INTA/B will stay asserted until it is cleared by certain operations (read GPIO or INTCAP). So if INTA is configured to go high, then it will stay high until you handle it. No special handling necessary, a GPIO input would suffice. Since INTA/B stays asserted you can read the GPIO pin any time you want to check its status.
Ahh, that would certainly make things somwhat easier as I could just check for the pin being high or low as programmed.
Time to go read the datasheet more closely :)

Cheers.

Phill.

Statistics: Posted by PhillHS — Thu Sep 26, 2024 7:31 pm



Viewing all articles
Browse latest Browse all 5033

Trending Articles