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 19 /* Define to prevent recursive inclusion -------------------------------------*/ 20 #ifndef __STM32L0xx_HAL_COMP_EX_H 21 #define __STM32L0xx_HAL_COMP_EX_H 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif 26 27 #if !defined(STM32L010xB) && !defined (STM32L010x8) && !defined (STM32L010x6) && !defined (STM32L010x4) 28 /* Includes ------------------------------------------------------------------*/ 29 #include "stm32l0xx_hal_def.h" 30 31 /** @addtogroup STM32L0xx_HAL_Driver 32 * @{ 33 */ 34 35 /** @defgroup COMPEx COMPEx 36 * @{ 37 */ 38 39 /* Exported functions --------------------------------------------------------*/ 40 /** @defgroup COMPEx_Exported_Functions COMPEx Exported Functions 41 * @{ 42 */ 43 44 /** @defgroup COMPEx_Exported_Functions_Group1 Extended COMP VREFINT setup functions 45 * @{ 46 */ 47 /* COMP specific functions to manage VREFINT *************************************/ 48 void HAL_COMPEx_EnableVREFINT(void); 49 void HAL_COMPEx_DisableVREFINT(void); 50 51 /** 52 * @} 53 */ 54 55 /** 56 * @} 57 */ 58 59 /** 60 * @} 61 */ 62 63 /** 64 * @} 65 */ 66 #endif /* #if !defined(STM32L010xB) && !defined (STM32L010x8) && !defined (STM32L010x6) && !defined (STM32L010x4) */ 67 68 #ifdef __cplusplus 69 } 70 #endif 71 72 #endif /* __STM32L0xx_HAL_COMP_EX_H */ 73 74 75