1 /* 2 * Copyright (c) 2006-2021, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2020-07-27 thread-liu the first version 9 */ 10 11 #ifndef __DRV_DCMI_H__ 12 #define __DRV_DCMI_H__ 13 14 #include "board.h" 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 20 struct rt_dcmi_device 21 { 22 struct rt_device parent; 23 }; 24 25 extern DMA_HandleTypeDef hdma_dcmi; 26 extern void rt_hw_dcmi_dma_config(rt_uint32_t dst_addr1, rt_uint32_t dst_addr2, rt_uint32_t len); 27 extern void DCMI_Start(void); 28 extern void DCMI_Stop(void); 29 30 #ifdef __cplusplus 31 } 32 #endif 33 34 #endif 35