drv_adc.h 613 B

12345678910111213141516171819202122232425262728293031
  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. #ifndef __DRV_ADC_H__
  11. #define __DRV_ADC_H__
  12. #include<stdint.h>
  13. #include<rtthread.h>
  14. #include<rtdevice.h>
  15. #include<rthw.h>
  16. struct tm4c123_adc_config
  17. {
  18. const char *name;
  19. uint32_t adcbase;
  20. uint32_t channel;
  21. uint32_t sequence;
  22. uint32_t trigermode;
  23. uint32_t sequencepriority;
  24. };
  25. #endif /*__DRV_ADC_H__*/
  26. /************************** end of file ******************/