1 /** 2 ****************************************************************************** 3 * @file stm32f3xx_hal_opamp_ex.h 4 * @author MCD Application Team 5 * @brief Header file of OPAMP 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 STM32F3xx_HAL_OPAMP_EX_H 21 #define STM32F3xx_HAL_OPAMP_EX_H 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif 26 27 #if defined (OPAMP1) || defined (OPAMP2) || defined (OPAMP3) || defined (OPAMP4) 28 29 /* Includes ------------------------------------------------------------------*/ 30 #include "stm32f3xx_hal_def.h" 31 32 /** @addtogroup STM32F3xx_HAL_Driver 33 * @{ 34 */ 35 36 /** @addtogroup OPAMPEx OPAMPEx 37 * @{ 38 */ 39 /* Exported types ------------------------------------------------------------*/ 40 /* Exported constants --------------------------------------------------------*/ 41 /* Exported macro ------------------------------------------------------------*/ 42 /* Exported functions --------------------------------------------------------*/ 43 /** @addtogroup OPAMPEx_Exported_Functions OPAMP Extended Exported Functions 44 * @{ 45 */ 46 47 /** @addtogroup OPAMPEx_Exported_Functions_Group1 Extended Input and Output operation functions 48 * @{ 49 */ 50 51 /* I/O operation functions *****************************************************/ 52 53 #if defined(STM32F302xE) || \ 54 defined(STM32F302xC) 55 56 HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2); 57 58 #endif /* STM32F302xE || */ 59 /* STM32F302xC */ 60 61 #if defined(STM32F303xE) || defined(STM32F398xx) || \ 62 defined(STM32F303xC) || defined(STM32F358xx) 63 HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2, OPAMP_HandleTypeDef *hopamp3, OPAMP_HandleTypeDef *hopamp4); 64 #endif /* STM32F303xE || STM32F398xx || */ 65 /* STM32F303xC || STM32F358xx */ 66 67 /** 68 * @} 69 */ 70 71 /** 72 * @} 73 */ 74 75 /** 76 * @} 77 */ 78 79 /** 80 * @} 81 */ 82 83 #endif /* OPAMP1 || OPAMP2 || OPAMP3 || OPAMP4 */ 84 85 #ifdef __cplusplus 86 } 87 #endif 88 89 #endif /* STM32F3xx_HAL_OPAMP_EX_H */ 90 91