1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- /**
- ******************************************************************************
- * @file stm32g4xx_hal_opamp_ex.h
- * @author MCD Application Team
- * @brief Header file of OPAMP HAL Extended module.
- ******************************************************************************
- * @attention
- *
- * Copyright (c) 2019 STMicroelectronics.
- * All rights reserved.
- *
- * This software is licensed under terms that can be found in the LICENSE file
- * in the root directory of this software component.
- * If no LICENSE file comes with this software, it is provided AS-IS.
- *
- ******************************************************************************
- */
- /* Define to prevent recursive inclusion -------------------------------------*/
- #ifndef STM32G4xx_HAL_OPAMP_EX_H
- #define STM32G4xx_HAL_OPAMP_EX_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* Includes ------------------------------------------------------------------*/
- #include "stm32g4xx_hal_def.h"
- /** @addtogroup STM32G4xx_HAL_Driver
- * @{
- */
- #if defined (OPAMP1) || defined (OPAMP2) || defined (OPAMP3) || defined (OPAMP4) || defined (OPAMP5) || defined (OPAMP6)
- /** @addtogroup OPAMPEx OPAMPEx
- * @{
- */
- /* Exported types ------------------------------------------------------------*/
- /* Exported constants --------------------------------------------------------*/
- /* Exported macro ------------------------------------------------------------*/
- /* Exported functions --------------------------------------------------------*/
- /** @addtogroup OPAMPEx_Exported_Functions OPAMP Extended Exported Functions
- * @{
- */
- /** @addtogroup OPAMPEx_Exported_Functions_Group1 Extended Input and Output operation functions
- * @{
- */
- /* I/O operation functions *****************************************************/
- #if defined(STM32G473xx) || defined(STM32G474xx) || defined(STM32G483xx) || defined(STM32G484xx)
- HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2,
- OPAMP_HandleTypeDef *hopamp3, OPAMP_HandleTypeDef *hopamp4, OPAMP_HandleTypeDef *hopamp5, OPAMP_HandleTypeDef *hopamp6);
- #elif defined(STM32GBK1CB) || defined(STM32G431xx) || defined(STM32G441xx) || defined(STM32G471xx)
- HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2,
- OPAMP_HandleTypeDef *hopamp3);
- #elif defined(STM32G491xx) || defined(STM32G4A1xx)
- HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2,
- OPAMP_HandleTypeDef *hopamp3, OPAMP_HandleTypeDef *hopamp6);
- #elif defined(STM32G411xB) || defined(STM32G411xC)
- HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1);
- #endif /* STM32G473xx || STM32G474xx || STM32G483xx || STM32G484xx */
- /**
- * @}
- */
- /**
- * @}
- */
- /**
- * @}
- */
- #endif /* OPAMP1 || OPAMP2 || OPAMP3 || OPAMP4 || OPAMP5 || OPAMP6 */
- /**
- * @}
- */
- #ifdef __cplusplus
- }
- #endif
- #endif /* STM32G4xx_HAL_OPAMP_EX_H */
|