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  * 2022-09-16     linshire     add some operation function
9  * 2021-09-09     WCH          the first version
10  */
11 #ifndef DRV_ADC_H__
12 #define DRV_ADC_H__
13 typedef struct
14 {
15     ADC_TypeDef                   *Instance;
16     ADC_InitTypeDef                Init;
17 }ADC_HandleTypeDef;
18 
19 typedef struct
20 {
21     uint32_t     Channel;
22     uint32_t     Rank;
23     uint32_t     SamplingTime;
24     uint32_t     Offset;
25 }ADC_ChannelConfTypeDef;
26 
27 #endif
28