/* * Copyright (c) 2006-2022, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2022-02-22 airm2m first version */ #ifndef __DRV_DMA_H_ #define __DRV_DMA_H_ #include #include #ifdef __cplusplus extern "C" { #endif #define DMA_INSTANCE_TYPE DMA_Channel_TypeDef struct dma_config { DMA_INSTANCE_TYPE *Instance; rt_uint32_t dma_rcc; IRQn_Type dma_irq; }; #ifdef __cplusplus } #endif #endif /*__DRV_DMA_H_ */