STM32G474xx HAL用户手册
stm32g4xx_hal_opamp_ex.h
转到该文件的文档。
00001 /**
00002   ******************************************************************************
00003   * @file    stm32g4xx_ hal_opamp_ex.h
00004   * @author  MCD Application Team
00005   * @brief   Header file of OPAMP HAL Extended module.
00006   ******************************************************************************
00007   * @attention
00008   *
00009   * Copyright (c) 2019 STMicroelectronics.
00010   * All rights reserved.
00011   *
00012   * This software is licensed under terms that can be found in the LICENSE file
00013   * in the root directory of this software component.
00014   * If no LICENSE file comes with this software, it is provided AS-IS.
00015   *
00016   ******************************************************************************
00017   */
00018 
00019 /* Define to prevent recursive inclusion -------------------------------------*/
00020 #ifndef STM32G4xx_ HAL_OPAMP_EX_H
00021 #define STM32G4xx_ HAL_OPAMP_EX_H
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00027 /* Includes ------------------------------------------------------------------*/
00028 #include "stm32g4xx_hal_def.h"
00029 
00030 /** @addtogroup STM32G4xx_ HAL_Driver
00031   * @{
00032   */
00033 
00034 #if defined (OPAMP1) || defined (OPAMP2) || defined (OPAMP3) || defined (OPAMP4) || defined (OPAMP5) || defined (OPAMP6)
00035 
00036 /** @addtogroup OPAMPEx OPAMPEx
00037   * @{
00038   */
00039 /* Exported types ------------------------------------------------------------*/
00040 /* Exported constants --------------------------------------------------------*/
00041 /* Exported macro ------------------------------------------------------------*/
00042 /* Exported functions --------------------------------------------------------*/
00043 /** @addtogroup OPAMPEx_Exported_ Functions OPAMP扩展导出函数
00044   * @{
00045   */
00046 
00047 /** @addtogroup OPAMPEx_Exported_ Functions_Group1 Extended Input and Output operation functions
00048   * @{
00049   */
00050 
00051 /* I/O operation functions  *****************************************************/
00052 
00053 #if defined(STM32G473xx) || defined(STM32G474xx) || defined(STM32G483xx) || defined(STM32G484xx)
00054 HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2,
00055                                                OPAMP_HandleTypeDef *hopamp3, OPAMP_HandleTypeDef *hopamp4, OPAMP_HandleTypeDef *hopamp5, OPAMP_HandleTypeDef *hopamp6);
00056 #elif defined(STM32GBK1CB) || defined(STM32G431xx) || defined(STM32G441xx) || defined(STM32G471xx)
00057 HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2,
00058                                                OPAMP_HandleTypeDef *hopamp3);
00059 #elif defined(STM32G491xx) || defined(STM32G4A1xx)
00060 HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2,
00061                                                OPAMP_HandleTypeDef *hopamp3, OPAMP_HandleTypeDef *hopamp6);
00062 #elif defined(STM32G411xB) || defined(STM32G411xC)
00063 HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1);
00064 #endif /* STM32G473xx || STM32G474xx || STM32G483xx || STM32G484xx */
00065 
00066 /**
00067   * @}
00068   */
00069 
00070 /**
00071   * @}
00072   */
00073 
00074 /**
00075   * @}
00076   */
00077 
00078 #endif /* OPAMP1 || OPAMP2 || OPAMP3 || OPAMP4  || OPAMP5 || OPAMP6 */
00079 
00080 /**
00081   * @}
00082   */
00083 
00084 #ifdef __cplusplus
00085 }
00086 #endif
00087 
00088 
00089 #endif /* STM32G4xx_ HAL_OPAMP_EX_H */