提交 869a96bc 编写于 作者: mysterywolf's avatar mysterywolf

[adc] 增加ADC内置通道通用通道号标识

上级 7fbe8bbd
......@@ -14,6 +14,10 @@
#define __ADC_H__
#include <rtthread.h>
#define RT_ADC_INTERN_CH_TEMPER ((rt_uint32_t)-1)
#define RT_ADC_INTERN_CH_VREF ((rt_uint32_t)-2)
#define RT_ADC_INTERN_CH_VBAT ((rt_uint32_t)-3)
struct rt_adc_device;
struct rt_adc_ops
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册