1 /*
2  * Copyright (c) 2006-2023, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2020-06-16     thread-liu   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 #ifdef BSP_USING_DAC1
21 #ifndef DAC1_CONFIG
22 #define DAC1_CONFIG                                                    \
23     {                                                                  \
24        .Instance                      = DAC1,                          \
25     }
26 #endif /* DAC1_CONFIG */
27 #endif /* BSP_USING_DAC1 */
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 
33 #endif /* __DAC_CONFIG_H__ */
34