Files
esp-idf/components/esp_hal_dma/include/hal/dma2d_periph.h
T
2026-04-09 20:30:26 +08:00

35 lines
651 B
C

/*
* SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <stdint.h>
#include "soc/soc_caps.h"
#if SOC_HAS(DMA2D)
#include "hal/dma2d_ll.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if SOC_HAS(DMA2D)
typedef struct {
struct {
const char *module_name; // module name
const int tx_irq_id[DMA2D_LL_GET(TX_CHANS_PER_INST)];
const int rx_irq_id[DMA2D_LL_GET(RX_CHANS_PER_INST)];
} groups[DMA2D_LL_GET(INST_NUM)];
} dma2d_signal_conn_t;
extern const dma2d_signal_conn_t dma2d_periph_signals;
#endif
#ifdef __cplusplus
}
#endif