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   * Copyright (c) 2017 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 STM32L4xx_HAL_OPAMP_EX_H
21 #define STM32L4xx_HAL_OPAMP_EX_H
22 
23 #ifdef __cplusplus
24  extern "C" {
25 #endif
26 
27 /* Includes ------------------------------------------------------------------*/
28 #include "stm32l4xx_hal_def.h"
29 
30 /** @addtogroup STM32L4xx_HAL_Driver
31   * @{
32   */
33 
34 /** @addtogroup OPAMPEx
35   * @{
36   */
37 /* Exported types ------------------------------------------------------------*/
38 /* Exported constants --------------------------------------------------------*/
39 /* Exported macro ------------------------------------------------------------*/
40 /* Exported functions --------------------------------------------------------*/
41 /** @addtogroup OPAMPEx_Exported_Functions OPAMPEx Exported Functions
42   * @{
43   */
44 
45 #if defined (STM32L471xx) || defined (STM32L475xx) || defined (STM32L476xx) || defined (STM32L485xx) || defined (STM32L486xx) || \
46     defined (STM32L496xx) || defined (STM32L4A6xx) || \
47     defined (STM32L4P5xx) || defined (STM32L4Q5xx) || \
48     defined (STM32L4R5xx) || defined (STM32L4R7xx) || defined (STM32L4R9xx) || defined (STM32L4S5xx) || defined (STM32L4S7xx) || defined (STM32L4S9xx)
49 
50 
51 /* I/O operation functions  *****************************************************/
52 /** @addtogroup OPAMPEx_Exported_Functions_Group1 Extended Input and Output operation functions
53   * @{
54   */
55 
56 HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2);
57 
58 /**
59   * @}
60   */
61 #endif
62 
63 /* Peripheral Control functions  ************************************************/
64 /** @addtogroup OPAMPEx_Exported_Functions_Group2
65   * @{
66   */
67 HAL_StatusTypeDef HAL_OPAMPEx_Unlock(OPAMP_HandleTypeDef *hopamp);
68 /**
69   * @}
70   */
71 
72 /**
73   * @}
74   */
75 
76 /**
77   * @}
78   */
79 
80 /**
81   * @}
82   */
83 
84 #ifdef __cplusplus
85 }
86 #endif
87 
88 #endif /* STM32L4xx_HAL_OPAMP_EX_H */
89