Skip to content

Interrupts not fully documented #1472

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

Closed
nickgammon opened this issue Jun 19, 2013 · 1 comment
Closed

Interrupts not fully documented #1472

nickgammon opened this issue Jun 19, 2013 · 1 comment
Labels
Component: Documentation Related to Arduino's documentation content feature request A request to make an enhancement (not a bug fix)

Comments

@nickgammon
Copy link

The reference page for attachInterrupt is below:

http://arduino.cc/en/Reference/AttachInterrupt

It does not mention the use of ISR(whatever) to implement interrupts other than the external interrupts. It mentions:

a function to call when an external interrupt occurs

This implies that there are also internal interrupts, however there is no documentation about how to use them. A mention of ISR, or another page describing it, would be helpful.

Also attachInterrupt does not mention the trap that, if a particular event is pending (eg. an external interrupt) then the interrupt fires the moment that the attachInterrupt is done. This may confuse people who expect that only future interrupts will be processed.

I have extensive documention about Arduino interrupts here:

http://www.gammon.com.au/interrupts

I would be happy to help with improving the reference documentation.

@shfitz
Copy link
Contributor

shfitz commented Nov 23, 2013

Added some information about ISRs and added a link to Nick's notes for more information.

@shfitz shfitz closed this as completed Nov 23, 2013
@per1234 per1234 added the feature request A request to make an enhancement (not a bug fix) label Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation Related to Arduino's documentation content feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

3 participants