mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
refactor(dac): move DMA interrupt handling behind dac_priv_dma callbacks
This commit is contained in:
@@ -1,21 +1,31 @@
|
||||
[mapping:dac_driver]
|
||||
archive: libesp_driver_dac.a
|
||||
entries:
|
||||
if DAC_ISR_IRAM_SAFE = y:
|
||||
dac_continuous: dac_dma_done_callback (noflash)
|
||||
dac_continuous: dac_dma_teof_callback (noflash)
|
||||
|
||||
if IDF_TARGET_ESP32 = y || IDF_TARGET_ESP32S2 = y:
|
||||
dac_dma: dac_priv_dma_intr_handler (noflash)
|
||||
|
||||
if IDF_TARGET_ESP32 = y:
|
||||
dac_dma: dac_priv_dma_trans_start (noflash)
|
||||
|
||||
if DAC_CTRL_FUNC_IN_IRAM = y:
|
||||
dac_oneshot: dac_oneshot_output_voltage (noflash)
|
||||
dac_continuous: dac_load_data_into_desc (noflash)
|
||||
dac_continuous: dac_continuous_write_asynchronously (noflash)
|
||||
dac_continuous: s_dac_load_data_into_desc (noflash)
|
||||
|
||||
[mapping:dac_driver_gdma_link]
|
||||
archive: libesp_driver_dma.a
|
||||
entries:
|
||||
# Reached from the dac_continuous ISR
|
||||
# Reached from the dac_continuous ISR callback
|
||||
if DAC_ISR_IRAM_SAFE = y:
|
||||
gdma_link: gdma_link_get_length (noflash)
|
||||
gdma_link: gdma_link_get_item_addr (noflash)
|
||||
gdma_link: gdma_link_check_end (noflash)
|
||||
|
||||
# Reached from 'dac_continuous_write_asynchronously' (via 's_dac_load_data_into_desc')
|
||||
# Reached from 'dac_continuous_write_asynchronously' (via 'dac_load_data_into_desc')
|
||||
if DAC_CTRL_FUNC_IN_IRAM = y:
|
||||
gdma_link: gdma_link_set_length (noflash)
|
||||
gdma_link: gdma_link_set_owner (noflash)
|
||||
|
||||
Reference in New Issue
Block a user