Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalise API for enabling interrupts on GPIO & MCP23017 pins #31

Open
npryce opened this issue Feb 13, 2013 · 1 comment
Open

Normalise API for enabling interrupts on GPIO & MCP23017 pins #31

npryce opened this issue Feb 13, 2013 · 1 comment
Labels

Comments

@npryce
Copy link
Contributor

npryce commented Feb 13, 2013

GPIO and MCP23017 have different APIs for configuring interrupt mode. The APIs should be the same, so pick one and make the other one use it.

@npryce
Copy link
Contributor Author

npryce commented Feb 15, 2013

The interrupt behaviours are different enough that the API cannot be completely compatible. For example, the MCP23017 does not raise interrupts on rising or falling signals but holds the interrupt line high while the input is different from some preconfigured value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant