stm32f3xx_hal_opamp_ex.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. /* Define to prevent recursive inclusion -------------------------------------*/
  19. #ifndef STM32F3xx_HAL_OPAMP_EX_H
  20. #define STM32F3xx_HAL_OPAMP_EX_H
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. #if defined (OPAMP1) || defined (OPAMP2) || defined (OPAMP3) || defined (OPAMP4)
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "stm32f3xx_hal_def.h"
  27. /** @addtogroup STM32F3xx_HAL_Driver
  28. * @{
  29. */
  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(STM32F302xE) || \
  45. defined(STM32F302xC)
  46. HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2);
  47. #endif /* STM32F302xE || */
  48. /* STM32F302xC */
  49. #if defined(STM32F303xE) || defined(STM32F398xx) || \
  50. defined(STM32F303xC) || defined(STM32F358xx)
  51. HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2, OPAMP_HandleTypeDef *hopamp3, OPAMP_HandleTypeDef *hopamp4);
  52. #endif /* STM32F303xE || STM32F398xx || */
  53. /* STM32F303xC || STM32F358xx */
  54. /**
  55. * @}
  56. */
  57. /**
  58. * @}
  59. */
  60. /**
  61. * @}
  62. */
  63. /**
  64. * @}
  65. */
  66. #endif /* OPAMP1 || OPAMP2 || OPAMP3 || OPAMP4 */
  67. #ifdef __cplusplus
  68. }
  69. #endif
  70. #endif /* STM32F3xx_HAL_OPAMP_EX_H */