From 505023b65639fc6f2aa9fb76f6f0ca1632823947 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sat, 8 Apr 2023 04:07:30 -0400 Subject: [PATCH] =?UTF-8?q?[adc]=20=E5=A2=9E=E5=8A=A0ADC=E5=86=85=E7=BD=AE?= =?UTF-8?q?=E9=80=9A=E9=81=93=E9=80=9A=E7=94=A8=E9=80=9A=E9=81=93=E5=8F=B7?= =?UTF-8?q?=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/drivers/include/drivers/adc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/drivers/include/drivers/adc.h b/components/drivers/include/drivers/adc.h index 601e16292e..2e4da26819 100644 --- a/components/drivers/include/drivers/adc.h +++ b/components/drivers/include/drivers/adc.h @@ -14,6 +14,10 @@ #define __ADC_H__ #include +#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 {