summaryrefslogtreecommitdiff
path: root/bsp/tm4c123bsp/libraries/Drivers/drv_adc.h
blob: d739a2efb344d3f104e3968e45f03e04ea65bb21 (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
29
30
31
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2020-06-27     AHTYDHD      the first version
 */

#ifndef __DRV_ADC_H__
#define __DRV_ADC_H__

#include<stdint.h>
#include<rtthread.h>
#include<rtdevice.h>
#include<rthw.h>

struct tm4c123_adc_config
{
    const char  *name;
    uint32_t    adcbase;
    uint32_t    channel;
    uint32_t    sequence;
    uint32_t    trigermode;
    uint32_t    sequencepriority;
};

#endif /*__DRV_ADC_H__*/

/************************** end of file ******************/