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 * 2023-11-23 Chushicheng first version 9 */ 10 11 #ifndef __DRV_ADC_H__ 12 #define __DRV_ADC_H__ 13 14 #include <rtconfig.h> 15 16 #if defined BSP_USING_ADC 17 18 /* esp config class */ 19 static struct esp_adc_config 20 { 21 rt_uint8_t adc_id; 22 const char *device_name; 23 }; 24 25 int rt_hw_adc_init(void); 26 27 #endif /* BSP_USING_ADC */ 28 #endif /* __DRV_ADC_H__ */ 29