1 /*
2  * Copyright (c) 2006-2022, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2022-02-22     airm2m       first version
9  */
10 #ifndef DRV_ADC_H__
11 #define DRV_ADC_H__
12 typedef struct
13 {
14     ADC_TypeDef                   *Instance;
15     ADC_InitTypeDef                Init;
16 }ADC_HandleTypeDef;
17 
18 typedef struct
19 {
20     uint32_t     Channel;
21     uint32_t     Rank;
22     uint32_t     SamplingTime;
23     uint32_t     Offset;
24 }ADC_ChannelConfTypeDef;
25 
26 #endif
27