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 * 2024-12-18 shelton first version 9 */ 10 11 #ifndef __DAC_CONFIG_H__ 12 #define __DAC_CONFIG_H__ 13 14 #include <rtthread.h> 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 20 #if defined(BSP_USING_DAC1) 21 #define DAC1_CONFIG \ 22 { \ 23 .name = "dac1", \ 24 .dac_x = DAC, \ 25 } 26 #endif /* BSP_USING_DAC1 */ 27 28 #ifdef __cplusplus 29 } 30 #endif 31 32 #endif 33