stm32l0xx_hal_comp_ex.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /**
  2. ******************************************************************************
  3. * @file stm32l0xx_hal_comp_ex.h
  4. * @author MCD Application Team
  5. * @brief Header file of COMP HAL Extended module.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * Copyright (c) 2016 STMicroelectronics.
  10. * All rights reserved.
  11. *
  12. * This software is licensed under terms that can be found in the LICENSE file
  13. * in the root directory of this software component.
  14. * If no LICENSE file comes with this software, it is provided AS-IS.
  15. *
  16. ******************************************************************************
  17. */
  18. /* Define to prevent recursive inclusion -------------------------------------*/
  19. #ifndef __STM32L0xx_HAL_COMP_EX_H
  20. #define __STM32L0xx_HAL_COMP_EX_H
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. #if !defined(STM32L010xB) && !defined (STM32L010x8) && !defined (STM32L010x6) && !defined (STM32L010x4)
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "stm32l0xx_hal_def.h"
  27. /** @addtogroup STM32L0xx_HAL_Driver
  28. * @{
  29. */
  30. /** @defgroup COMPEx COMPEx
  31. * @{
  32. */
  33. /* Exported functions --------------------------------------------------------*/
  34. /** @defgroup COMPEx_Exported_Functions COMPEx Exported Functions
  35. * @{
  36. */
  37. /** @defgroup COMPEx_Exported_Functions_Group1 Extended COMP VREFINT setup functions
  38. * @{
  39. */
  40. /* COMP specific functions to manage VREFINT *************************************/
  41. void HAL_COMPEx_EnableVREFINT(void);
  42. void HAL_COMPEx_DisableVREFINT(void);
  43. /**
  44. * @}
  45. */
  46. /**
  47. * @}
  48. */
  49. /**
  50. * @}
  51. */
  52. /**
  53. * @}
  54. */
  55. #endif /* #if !defined(STM32L010xB) && !defined (STM32L010x8) && !defined (STM32L010x6) && !defined (STM32L010x4) */
  56. #ifdef __cplusplus
  57. }
  58. #endif
  59. #endif /* __STM32L0xx_HAL_COMP_EX_H */