esp-idf/docs/en/api-reference/peripherals
Michael (XIAO Xufeng) 8cddfa35b8 spi: fix the crash when callbacks are not in the IRAM
Introduced in 9c23b8e5 and 4f87a62f. To get higher speed, menuconfig
options are added to put ISR and other functions into the IRAM.  The
interrupt flag ESP_INTR_FLAG_IRAM is also mistakenly set when the ISR is
put into the IRAM. However callbacks, which are wrote by the user, are
called in the master and slave ISR. The user may not be aware of that
these callbacks are not disabled during flash operations. Any cache miss
during flash operation will cause panic.

Essentially IRAM functions and intrrupt flag ESP_INTR_FLAG_IRAM are
different, the latter means not disabling the ISR during flash
operations.  New bus_config flag intr_flags is offered to help set the
interrupt attribute, including priority level, SHARED, IRAM (not
disabled during flash operations).  It introduced a small BREAK to
IDFv3.1 (but the same as IDFv3.0) that the user has to manually set IRAM
flag now (therefore he's aware of the IRAM thing) to void the ISR being
disabled during flash operations.
2018-11-20 13:07:13 +08:00
..
adc.rst Provided a table with development boards by Espressif together with USB-to-serial driver names 2018-08-16 05:24:40 +08:00
can.rst can: remove license disclaimer 2018-09-27 13:25:59 +08:00
dac.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
esp_slave_protocol.rst sdio_slave: add documentation for the standard init process 2018-10-26 16:56:18 +08:00
gpio.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
i2c.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
i2s.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
index.rst CAN Driver 2018-07-04 14:01:57 +08:00
ledc.rst Restored back original 'zh_CN' version files and updated links between versions 2018-03-13 21:57:08 +01:00
mcpwm.rst MCPWM API doc update 2018-10-10 08:15:23 +08:00
pcnt.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
rmt.rst Restored back original 'zh_CN' version files and updated links between versions 2018-03-13 21:57:08 +01:00
sd_pullup_requirements.rst Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
sdio_slave.rst sdio_slave: add documentation for the standard init process 2018-10-26 16:56:18 +08:00
sdmmc_host.rst sdmmc: document eMMC support, host features 2018-08-30 13:14:26 +08:00
sdspi_host.rst docs: update SDMMC and SDSPI documentation 2018-04-11 11:07:13 +08:00
sigmadelta.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
spi_master.rst spi: fix the crash when callbacks are not in the IRAM 2018-11-20 13:07:13 +08:00
spi_slave.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
timer.rst docs: explicitly note that timer alarms are not recurring 2018-03-19 11:56:57 +08:00
touch_pad.rst Provided links to 'Touch Sensor Application Note' and 'Guide for ESP32-Sense Development Kit' 2018-05-21 19:29:36 +02:00
uart.rst driver: add rs485 half duplex interface support to uart driver (update after review) 2018-07-02 15:24:58 +02:00