summaryrefslogtreecommitdiff
path: root/bsp/ESP/libraries/drivers/drv_adc.h
blob: 188af73b1c8f82ef45ef2c30480b3b610114d6df (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
/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023-11-23     Chushicheng  first version
 */

#ifndef __DRV_ADC_H__
#define __DRV_ADC_H__

#include <rtconfig.h>

#if defined BSP_USING_ADC

/* esp config class */
static struct esp_adc_config
{
    rt_uint8_t adc_id;
    const char *device_name;
};

int rt_hw_adc_init(void);

#endif /* BSP_USING_ADC */
#endif /* __DRV_ADC_H__ */