Interrupts not fully documented #1472
Labels
Component: Documentation
Related to Arduino's documentation content
feature request
A request to make an enhancement (not a bug fix)
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:
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.
The text was updated successfully, but these errors were encountered: