1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-21 21:22:31 +03:00

Document ISRs need ICACHE_RAM_ATTR before them (#6141)

This commit is contained in:
Alex Huang
2019-05-25 21:53:30 +10:00
committed by david gauchard
parent a389a995fb
commit 0a8f2a13a6

View File

@ -32,7 +32,8 @@ pins 9 and 11. These may be used as IO if flash chip works in DIO mode
Pin interrupts are supported through ``attachInterrupt``, Pin interrupts are supported through ``attachInterrupt``,
``detachInterrupt`` functions. Interrupts may be attached to any GPIO ``detachInterrupt`` functions. Interrupts may be attached to any GPIO
pin, except GPIO16. Standard Arduino interrupt types are supported: pin, except GPIO16. Standard Arduino interrupt types are supported:
``CHANGE``, ``RISING``, ``FALLING``. ``CHANGE``, ``RISING``, ``FALLING``. ISRs need to have
``ICACHE_RAM_ATTR`` before the function definition.
Analog input Analog input
------------ ------------