Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Interrupts not fully documented #1472

Closed
Closed
Labels
Component: DocumentationRelated to Arduino's documentation content feature requestA request to make an enhancement (not a bug fix)
@nickgammon

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: DocumentationRelated to Arduino's documentation content feature requestA request to make an enhancement (not a bug fix)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /