stm32g4xx_hal_opamp_ex.h 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /**
  2. ******************************************************************************
  3. * @file stm32g4xx_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) 2019 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. /* Define to prevent recursive inclusion -------------------------------------*/
  19. #ifndef STM32G4xx_HAL_OPAMP_EX_H
  20. #define STM32G4xx_HAL_OPAMP_EX_H
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. /* Includes ------------------------------------------------------------------*/
  25. #include "stm32g4xx_hal_def.h"
  26. /** @addtogroup STM32G4xx_HAL_Driver
  27. * @{
  28. */
  29. #if defined (OPAMP1) || defined (OPAMP2) || defined (OPAMP3) || defined (OPAMP4) || defined (OPAMP5) || defined (OPAMP6)
  30. /** @addtogroup OPAMPEx OPAMPEx
  31. * @{
  32. */
  33. /* Exported types ------------------------------------------------------------*/
  34. /* Exported constants --------------------------------------------------------*/
  35. /* Exported macro ------------------------------------------------------------*/
  36. /* Exported functions --------------------------------------------------------*/
  37. /** @addtogroup OPAMPEx_Exported_Functions OPAMP Extended Exported Functions
  38. * @{
  39. */
  40. /** @addtogroup OPAMPEx_Exported_Functions_Group1 Extended Input and Output operation functions
  41. * @{
  42. */
  43. /* I/O operation functions *****************************************************/
  44. #if defined(STM32G473xx) || defined(STM32G474xx) || defined(STM32G483xx) || defined(STM32G484xx)
  45. HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2,
  46. OPAMP_HandleTypeDef *hopamp3, OPAMP_HandleTypeDef *hopamp4, OPAMP_HandleTypeDef *hopamp5, OPAMP_HandleTypeDef *hopamp6);
  47. #elif defined(STM32GBK1CB) || defined(STM32G431xx) || defined(STM32G441xx) || defined(STM32G471xx)
  48. HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2,
  49. OPAMP_HandleTypeDef *hopamp3);
  50. #elif defined(STM32G491xx) || defined(STM32G4A1xx)
  51. HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2,
  52. OPAMP_HandleTypeDef *hopamp3, OPAMP_HandleTypeDef *hopamp6);
  53. #elif defined(STM32G411xB) || defined(STM32G411xC)
  54. HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1);
  55. #endif /* STM32G473xx || STM32G474xx || STM32G483xx || STM32G484xx */
  56. /**
  57. * @}
  58. */
  59. /**
  60. * @}
  61. */
  62. /**
  63. * @}
  64. */
  65. #endif /* OPAMP1 || OPAMP2 || OPAMP3 || OPAMP4 || OPAMP5 || OPAMP6 */
  66. /**
  67. * @}
  68. */
  69. #ifdef __cplusplus
  70. }
  71. #endif
  72. #endif /* STM32G4xx_HAL_OPAMP_EX_H */