2020-07-01 23:44:57 +08:00
|
|
|
/*
|
2021-03-21 22:23:24 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2020-07-01 23:44:57 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2020-06-27 AHTYDHD the first version
|
|
|
|
*/
|
|
|
|
|
2020-07-02 13:01:57 +08:00
|
|
|
#ifndef __DRV_ADC_H__
|
|
|
|
#define __DRV_ADC_H__
|
|
|
|
|
2020-06-24 19:54:42 +08:00
|
|
|
#include<stdint.h>
|
|
|
|
#include<rtthread.h>
|
|
|
|
#include<rtdevice.h>
|
|
|
|
#include<rthw.h>
|
|
|
|
|
|
|
|
struct tm4c123_adc_config
|
|
|
|
{
|
2020-07-01 23:44:57 +08:00
|
|
|
const char *name;
|
|
|
|
uint32_t adcbase;
|
|
|
|
uint32_t channel;
|
|
|
|
uint32_t sequence;
|
|
|
|
uint32_t trigermode;
|
|
|
|
uint32_t sequencepriority;
|
2020-06-24 19:54:42 +08:00
|
|
|
};
|
|
|
|
|
2020-07-02 13:01:57 +08:00
|
|
|
#endif /*__DRV_ADC_H__*/
|
2020-07-01 23:44:57 +08:00
|
|
|
|
2021-03-21 22:23:24 +08:00
|
|
|
/************************** end of file ******************/
|