1 /** 2 ****************************************************************************** 3 * @file stm32l4xx_hal_opamp_ex.h 4 * @author MCD Application Team 5 * @brief Header file of OPAMP HAL Extended module. 6 ****************************************************************************** 7 * @attention 8 * 9 * <h2><center>© Copyright (c) 2017 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 20 /* Define to prevent recursive inclusion -------------------------------------*/ 21 #ifndef STM32L4xx_HAL_OPAMP_EX_H 22 #define STM32L4xx_HAL_OPAMP_EX_H 23 24 #ifdef __cplusplus 25 extern "C" { 26 #endif 27 28 /* Includes ------------------------------------------------------------------*/ 29 #include "stm32l4xx_hal_def.h" 30 31 /** @addtogroup STM32L4xx_HAL_Driver 32 * @{ 33 */ 34 35 /** @addtogroup OPAMPEx 36 * @{ 37 */ 38 /* Exported types ------------------------------------------------------------*/ 39 /* Exported constants --------------------------------------------------------*/ 40 /* Exported macro ------------------------------------------------------------*/ 41 /* Exported functions --------------------------------------------------------*/ 42 /** @addtogroup OPAMPEx_Exported_Functions OPAMPEx Exported Functions 43 * @{ 44 */ 45 46 #if defined (STM32L471xx) || defined (STM32L475xx) || defined (STM32L476xx) || defined (STM32L485xx) || defined (STM32L486xx) || \ 47 defined (STM32L496xx) || defined (STM32L4A6xx) || \ 48 defined (STM32L4P5xx) || defined (STM32L4Q5xx) || \ 49 defined (STM32L4R5xx) || defined (STM32L4R7xx) || defined (STM32L4R9xx) || defined (STM32L4S5xx) || defined (STM32L4S7xx) || defined (STM32L4S9xx) 50 51 52 /* I/O operation functions *****************************************************/ 53 /** @addtogroup OPAMPEx_Exported_Functions_Group1 Extended Input and Output operation functions 54 * @{ 55 */ 56 57 HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2); 58 59 /** 60 * @} 61 */ 62 #endif 63 64 /* Peripheral Control functions ************************************************/ 65 /** @addtogroup OPAMPEx_Exported_Functions_Group2 66 * @{ 67 */ 68 HAL_StatusTypeDef HAL_OPAMPEx_Unlock(OPAMP_HandleTypeDef *hopamp); 69 /** 70 * @} 71 */ 72 73 /** 74 * @} 75 */ 76 77 /** 78 * @} 79 */ 80 81 /** 82 * @} 83 */ 84 85 #ifdef __cplusplus 86 } 87 #endif 88 89 #endif /* STM32L4xx_HAL_OPAMP_EX_H */ 90 91 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 92