adc.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /**
  2. ******************************************************************************
  3. * File Name : ADC.h
  4. * Description : This file provides code for the configuration
  5. * of the ADC instances.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * <h2><center>&copy; Copyright (c) 2022 STMicroelectronics.
  10. * All rights reserved.</center></h2>
  11. *
  12. * This software component is licensed by ST under BSD 3-Clause license,
  13. * the "License"; You may not use this file except in compliance with the
  14. * License. You may obtain a copy of the License at:
  15. * opensource.org/licenses/BSD-3-Clause
  16. *
  17. ******************************************************************************
  18. */
  19. /* Define to prevent recursive inclusion -------------------------------------*/
  20. #ifndef __adc_H
  21. #define __adc_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "main.h"
  27. /* USER CODE BEGIN Includes */
  28. /* USER CODE END Includes */
  29. extern ADC_HandleTypeDef hadc1;
  30. /* USER CODE BEGIN Private defines */
  31. /* USER CODE END Private defines */
  32. void MX_ADC1_Init(void);
  33. /* USER CODE BEGIN Prototypes */
  34. /* USER CODE END Prototypes */
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. #endif /*__ adc_H */
  39. /**
  40. * @}
  41. */
  42. /**
  43. * @}
  44. */
  45. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/