1 /* 2 * Copyright (c) 2006-2021, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2020-06-27 AHTYDHD the first version 9 */ 10 11 #ifndef __DRV_ADC_H__ 12 #define __DRV_ADC_H__ 13 14 #include<stdint.h> 15 #include<rtthread.h> 16 #include<rtdevice.h> 17 #include<rthw.h> 18 19 struct tm4c123_adc_config 20 { 21 const char *name; 22 uint32_t adcbase; 23 uint32_t channel; 24 uint32_t sequence; 25 uint32_t trigermode; 26 uint32_t sequencepriority; 27 }; 28 29 #endif /*__DRV_ADC_H__*/ 30 31 /************************** end of file ******************/ 32