Skip to content

new defs for EXTERNAL_NUM_INTERRUPTS etc. may be incompatible #12

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

Open
bombasticbob opened this issue Oct 14, 2014 · 0 comments
Open

new defs for EXTERNAL_NUM_INTERRUPTS etc. may be incompatible #12

bombasticbob opened this issue Oct 14, 2014 · 0 comments
Assignees

Comments

@bombasticbob
Copy link
Contributor

The new wiring_private.h defines EXTERNAL_NUM_INTERRUPTS and EXTERNAL_INT_0 (etc.) constants, obviously to aid with the macro 'digitalPinToInterrupt(p)' (now defined in pins_arduino.h). It's worth pointing out that this macro definition makes use of 'NOT_AN_INTERRUPT' which isn't even defined anyplace. So the implementation appears to be 'in flux' or even incomplete.

compatible definitions for all of these things will need to be implemented in the pins_arduino.h file, primarily because they are WAY too CPU dependent, and maybe even board dependent.

Also worth pointing out, there was an API change to support the xmega's interrupt method (a 'mode' parameter was added to 'attachInterrupt()')

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

No branches or pull requests

1 participant