blob: eeb2567093f32b507b295c2a377a97a0579215ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2024-12-18 shelton first version
*/
#ifndef __DAC_CONFIG_H__
#define __DAC_CONFIG_H__
#include <rtthread.h>
#ifdef __cplusplus
extern "C" {
#endif
#if defined(BSP_USING_DAC1)
#define DAC1_CONFIG \
{ \
.name = "dac1", \
.dac_x = DAC, \
}
#endif /* BSP_USING_DAC1 */
#ifdef __cplusplus
}
#endif
#endif
|