mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Mon Sep 28 14:00:11 2015 +0100
Revision:
632:7687fb9c4f91
Parent:
385:be64abf45658
Child:
634:ac7d6880524d
Synchronized with git revision f7ce4ed029cc611121464252ff28d5e8beb895b0

Full URL: https://github.com/mbedmicro/mbed/commit/f7ce4ed029cc611121464252ff28d5e8beb895b0/

NUCLEO_F303K8 - add support of the STM32F303K8

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 237:f3da66175598 1 /**
mbed_official 237:f3da66175598 2 ******************************************************************************
mbed_official 237:f3da66175598 3 * @file stm32f3xx_hal_pwr_ex.h
mbed_official 237:f3da66175598 4 * @author MCD Application Team
mbed_official 632:7687fb9c4f91 5 * @version V1.1.1
mbed_official 632:7687fb9c4f91 6 * @date 19-June-2015
mbed_official 375:3d36234a1087 7 * @brief Header file of PWR HAL Extended module.
mbed_official 237:f3da66175598 8 ******************************************************************************
mbed_official 237:f3da66175598 9 * @attention
mbed_official 237:f3da66175598 10 *
mbed_official 632:7687fb9c4f91 11 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
mbed_official 237:f3da66175598 12 *
mbed_official 237:f3da66175598 13 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 237:f3da66175598 14 * are permitted provided that the following conditions are met:
mbed_official 237:f3da66175598 15 * 1. Redistributions of source code must retain the above copyright notice,
mbed_official 237:f3da66175598 16 * this list of conditions and the following disclaimer.
mbed_official 237:f3da66175598 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 237:f3da66175598 18 * this list of conditions and the following disclaimer in the documentation
mbed_official 237:f3da66175598 19 * and/or other materials provided with the distribution.
mbed_official 237:f3da66175598 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
mbed_official 237:f3da66175598 21 * may be used to endorse or promote products derived from this software
mbed_official 237:f3da66175598 22 * without specific prior written permission.
mbed_official 237:f3da66175598 23 *
mbed_official 237:f3da66175598 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mbed_official 237:f3da66175598 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbed_official 237:f3da66175598 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 237:f3da66175598 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mbed_official 237:f3da66175598 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbed_official 237:f3da66175598 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mbed_official 237:f3da66175598 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mbed_official 237:f3da66175598 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mbed_official 237:f3da66175598 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mbed_official 237:f3da66175598 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 237:f3da66175598 34 *
mbed_official 237:f3da66175598 35 ******************************************************************************
mbed_official 237:f3da66175598 36 */
mbed_official 237:f3da66175598 37
mbed_official 237:f3da66175598 38 /* Define to prevent recursive inclusion -------------------------------------*/
mbed_official 237:f3da66175598 39 #ifndef __STM32F3xx_HAL_PWR_EX_H
mbed_official 237:f3da66175598 40 #define __STM32F3xx_HAL_PWR_EX_H
mbed_official 237:f3da66175598 41
mbed_official 237:f3da66175598 42 #ifdef __cplusplus
mbed_official 237:f3da66175598 43 extern "C" {
mbed_official 237:f3da66175598 44 #endif
mbed_official 237:f3da66175598 45
mbed_official 237:f3da66175598 46 /* Includes ------------------------------------------------------------------*/
mbed_official 237:f3da66175598 47 #include "stm32f3xx_hal_def.h"
mbed_official 237:f3da66175598 48
mbed_official 237:f3da66175598 49 /** @addtogroup STM32F3xx_HAL_Driver
mbed_official 237:f3da66175598 50 * @{
mbed_official 237:f3da66175598 51 */
mbed_official 237:f3da66175598 52
mbed_official 237:f3da66175598 53 /** @addtogroup PWREx
mbed_official 237:f3da66175598 54 * @{
mbed_official 237:f3da66175598 55 */
mbed_official 237:f3da66175598 56
mbed_official 237:f3da66175598 57 /* Exported types ------------------------------------------------------------*/
mbed_official 375:3d36234a1087 58
mbed_official 375:3d36234a1087 59 /** @defgroup PWREx_Exported_Types PWR Extended Exported Types
mbed_official 375:3d36234a1087 60 * @{
mbed_official 375:3d36234a1087 61 */
mbed_official 375:3d36234a1087 62 #if defined(STM32F302xE) || defined(STM32F303xE) || \
mbed_official 375:3d36234a1087 63 defined(STM32F302xC) || defined(STM32F303xC) || \
mbed_official 375:3d36234a1087 64 defined(STM32F303x8) || defined(STM32F334x8) || \
mbed_official 375:3d36234a1087 65 defined(STM32F301x8) || defined(STM32F302x8) || \
mbed_official 375:3d36234a1087 66 defined(STM32F373xC)
mbed_official 237:f3da66175598 67 /**
mbed_official 237:f3da66175598 68 * @brief PWR PVD configuration structure definition
mbed_official 237:f3da66175598 69 */
mbed_official 237:f3da66175598 70 typedef struct
mbed_official 237:f3da66175598 71 {
mbed_official 237:f3da66175598 72 uint32_t PVDLevel; /*!< PVDLevel: Specifies the PVD detection level
mbed_official 237:f3da66175598 73 This parameter can be a value of @ref PWREx_PVD_detection_level */
mbed_official 237:f3da66175598 74
mbed_official 237:f3da66175598 75 uint32_t Mode; /*!< Mode: Specifies the operating mode for the selected pins.
mbed_official 237:f3da66175598 76 This parameter can be a value of @ref PWREx_PVD_Mode */
mbed_official 237:f3da66175598 77 }PWR_PVDTypeDef;
mbed_official 375:3d36234a1087 78 #endif /* STM32F302xE || STM32F303xE || */
mbed_official 375:3d36234a1087 79 /* STM32F302xC || STM32F303xC || */
mbed_official 375:3d36234a1087 80 /* STM32F303x8 || STM32F334x8 || */
mbed_official 375:3d36234a1087 81 /* STM32F301x8 || STM32F302x8 || */
mbed_official 375:3d36234a1087 82 /* STM32F373xC */
mbed_official 375:3d36234a1087 83
mbed_official 375:3d36234a1087 84 /**
mbed_official 375:3d36234a1087 85 * @}
mbed_official 375:3d36234a1087 86 */
mbed_official 237:f3da66175598 87
mbed_official 237:f3da66175598 88 /* Exported constants --------------------------------------------------------*/
mbed_official 375:3d36234a1087 89 /** @defgroup PWREx_Exported_Constants PWR Extended Exported Constants
mbed_official 237:f3da66175598 90 * @{
mbed_official 237:f3da66175598 91 */
mbed_official 237:f3da66175598 92
mbed_official 375:3d36234a1087 93 #if defined(STM32F302xE) || defined(STM32F303xE) || \
mbed_official 375:3d36234a1087 94 defined(STM32F302xC) || defined(STM32F303xC) || \
mbed_official 375:3d36234a1087 95 defined(STM32F303x8) || defined(STM32F334x8) || \
mbed_official 375:3d36234a1087 96 defined(STM32F301x8) || defined(STM32F302x8) || \
mbed_official 375:3d36234a1087 97 defined(STM32F373xC)
mbed_official 375:3d36234a1087 98
mbed_official 375:3d36234a1087 99 /** @defgroup PWREx_PVD_detection_level PWR Extended PVD detection level
mbed_official 237:f3da66175598 100 * @{
mbed_official 237:f3da66175598 101 */
mbed_official 237:f3da66175598 102 #define PWR_PVDLEVEL_0 PWR_CR_PLS_LEV0
mbed_official 237:f3da66175598 103 #define PWR_PVDLEVEL_1 PWR_CR_PLS_LEV1
mbed_official 237:f3da66175598 104 #define PWR_PVDLEVEL_2 PWR_CR_PLS_LEV2
mbed_official 237:f3da66175598 105 #define PWR_PVDLEVEL_3 PWR_CR_PLS_LEV3
mbed_official 237:f3da66175598 106 #define PWR_PVDLEVEL_4 PWR_CR_PLS_LEV4
mbed_official 237:f3da66175598 107 #define PWR_PVDLEVEL_5 PWR_CR_PLS_LEV5
mbed_official 237:f3da66175598 108 #define PWR_PVDLEVEL_6 PWR_CR_PLS_LEV6
mbed_official 237:f3da66175598 109 #define PWR_PVDLEVEL_7 PWR_CR_PLS_LEV7
mbed_official 237:f3da66175598 110 #define IS_PWR_PVD_LEVEL(LEVEL) (((LEVEL) == PWR_PVDLEVEL_0) || ((LEVEL) == PWR_PVDLEVEL_1)|| \
mbed_official 237:f3da66175598 111 ((LEVEL) == PWR_PVDLEVEL_2) || ((LEVEL) == PWR_PVDLEVEL_3)|| \
mbed_official 237:f3da66175598 112 ((LEVEL) == PWR_PVDLEVEL_4) || ((LEVEL) == PWR_PVDLEVEL_5)|| \
mbed_official 237:f3da66175598 113 ((LEVEL) == PWR_PVDLEVEL_6) || ((LEVEL) == PWR_PVDLEVEL_7))
mbed_official 237:f3da66175598 114 /**
mbed_official 237:f3da66175598 115 * @}
mbed_official 237:f3da66175598 116 */
mbed_official 237:f3da66175598 117
mbed_official 375:3d36234a1087 118 /** @defgroup PWREx_PVD_Mode PWR Extended PVD Mode
mbed_official 237:f3da66175598 119 * @{
mbed_official 237:f3da66175598 120 */
mbed_official 375:3d36234a1087 121 #define PWR_PVD_MODE_NORMAL ((uint32_t)0x00000000) /*!< basic mode is used */
mbed_official 375:3d36234a1087 122 #define PWR_PVD_MODE_IT_RISING ((uint32_t)0x00010001) /*!< External Interrupt Mode with Rising edge trigger detection */
mbed_official 375:3d36234a1087 123 #define PWR_PVD_MODE_IT_FALLING ((uint32_t)0x00010002) /*!< External Interrupt Mode with Falling edge trigger detection */
mbed_official 375:3d36234a1087 124 #define PWR_PVD_MODE_IT_RISING_FALLING ((uint32_t)0x00010003) /*!< External Interrupt Mode with Rising/Falling edge trigger detection */
mbed_official 375:3d36234a1087 125 #define PWR_PVD_MODE_EVENT_RISING ((uint32_t)0x00020001) /*!< Event Mode with Rising edge trigger detection */
mbed_official 375:3d36234a1087 126 #define PWR_PVD_MODE_EVENT_FALLING ((uint32_t)0x00020002) /*!< Event Mode with Falling edge trigger detection */
mbed_official 375:3d36234a1087 127 #define PWR_PVD_MODE_EVENT_RISING_FALLING ((uint32_t)0x00020003) /*!< Event Mode with Rising/Falling edge trigger detection */
mbed_official 375:3d36234a1087 128
mbed_official 375:3d36234a1087 129 #define IS_PWR_PVD_MODE(MODE) (((MODE) == PWR_PVD_MODE_IT_RISING)|| ((MODE) == PWR_PVD_MODE_IT_FALLING) || \
mbed_official 375:3d36234a1087 130 ((MODE) == PWR_PVD_MODE_IT_RISING_FALLING) || ((MODE) == PWR_PVD_MODE_EVENT_RISING) || \
mbed_official 375:3d36234a1087 131 ((MODE) == PWR_PVD_MODE_EVENT_FALLING) || ((MODE) == PWR_PVD_MODE_EVENT_RISING_FALLING) || \
mbed_official 375:3d36234a1087 132 ((MODE) == PWR_PVD_MODE_NORMAL))
mbed_official 237:f3da66175598 133 /**
mbed_official 237:f3da66175598 134 * @}
mbed_official 237:f3da66175598 135 */
mbed_official 237:f3da66175598 136
mbed_official 237:f3da66175598 137 #define PWR_EXTI_LINE_PVD ((uint32_t)0x00010000) /*!< External interrupt line 16 Connected to the PVD EXTI Line */
mbed_official 237:f3da66175598 138
mbed_official 375:3d36234a1087 139 #endif /* STM32F302xE || STM32F303xE || */
mbed_official 375:3d36234a1087 140 /* STM32F302xC || STM32F303xC || */
mbed_official 375:3d36234a1087 141 /* STM32F303x8 || STM32F334x8 || */
mbed_official 375:3d36234a1087 142 /* STM32F301x8 || STM32F302x8 || */
mbed_official 375:3d36234a1087 143 /* STM32F373xC */
mbed_official 237:f3da66175598 144
mbed_official 237:f3da66175598 145 #if defined(STM32F373xC) || defined(STM32F378xx)
mbed_official 375:3d36234a1087 146 /** @defgroup PWREx_SDADC_ANALOGx PWR Extended SDADC ANALOGx
mbed_official 237:f3da66175598 147 * @{
mbed_official 237:f3da66175598 148 */
mbed_official 237:f3da66175598 149 #define PWR_SDADC_ANALOG1 ((uint32_t)PWR_CR_SDADC1EN)
mbed_official 237:f3da66175598 150 #define PWR_SDADC_ANALOG2 ((uint32_t)PWR_CR_SDADC2EN)
mbed_official 237:f3da66175598 151 #define PWR_SDADC_ANALOG3 ((uint32_t)PWR_CR_SDADC3EN)
mbed_official 237:f3da66175598 152 #define IS_PWR_SDADC_ANALOG(SDADC) (((SDADC) == PWR_SDADC_ANALOG1) || \
mbed_official 237:f3da66175598 153 ((SDADC) == PWR_SDADC_ANALOG2) || \
mbed_official 237:f3da66175598 154 ((SDADC) == PWR_SDADC_ANALOG3))
mbed_official 237:f3da66175598 155 /**
mbed_official 237:f3da66175598 156 * @}
mbed_official 237:f3da66175598 157 */
mbed_official 237:f3da66175598 158 #endif /* STM32F373xC || STM32F378xx */
mbed_official 237:f3da66175598 159
mbed_official 237:f3da66175598 160 /**
mbed_official 237:f3da66175598 161 * @}
mbed_official 237:f3da66175598 162 */
mbed_official 237:f3da66175598 163
mbed_official 237:f3da66175598 164 /* Exported macro ------------------------------------------------------------*/
mbed_official 375:3d36234a1087 165 /** @defgroup PWREx_Exported_Macros PWR Extended Exported Macros
mbed_official 237:f3da66175598 166 * @{
mbed_official 237:f3da66175598 167 */
mbed_official 237:f3da66175598 168
mbed_official 375:3d36234a1087 169 #if defined(STM32F302xE) || defined(STM32F303xE) || \
mbed_official 375:3d36234a1087 170 defined(STM32F302xC) || defined(STM32F303xC) || \
mbed_official 375:3d36234a1087 171 defined(STM32F303x8) || defined(STM32F334x8) || \
mbed_official 375:3d36234a1087 172 defined(STM32F301x8) || defined(STM32F302x8) || \
mbed_official 375:3d36234a1087 173 defined(STM32F373xC)
mbed_official 375:3d36234a1087 174
mbed_official 237:f3da66175598 175 /**
mbed_official 375:3d36234a1087 176 * @brief Enable interrupt on PVD Exti Line 16.
mbed_official 237:f3da66175598 177 * @retval None.
mbed_official 237:f3da66175598 178 */
mbed_official 375:3d36234a1087 179 #define __HAL_PWR_PVD_EXTI_ENABLE_IT() (EXTI->IMR |= (PWR_EXTI_LINE_PVD))
mbed_official 237:f3da66175598 180
mbed_official 237:f3da66175598 181 /**
mbed_official 375:3d36234a1087 182 * @brief Disable interrupt on PVD Exti Line 16.
mbed_official 237:f3da66175598 183 * @retval None.
mbed_official 237:f3da66175598 184 */
mbed_official 375:3d36234a1087 185 #define __HAL_PWR_PVD_EXTI_DISABLE_IT() (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD))
mbed_official 237:f3da66175598 186
mbed_official 237:f3da66175598 187 /**
mbed_official 237:f3da66175598 188 * @brief Generate a Software interrupt on selected EXTI line.
mbed_official 375:3d36234a1087 189 * @retval None.
mbed_official 375:3d36234a1087 190 */
mbed_official 375:3d36234a1087 191 #define __HAL_PWR_PVD_EXTI_GENERATE_SWIT() (EXTI->SWIER |= (PWR_EXTI_LINE_PVD))
mbed_official 375:3d36234a1087 192
mbed_official 375:3d36234a1087 193 /**
mbed_official 375:3d36234a1087 194 * @brief Enable event on PVD Exti Line 16.
mbed_official 375:3d36234a1087 195 * @retval None.
mbed_official 375:3d36234a1087 196 */
mbed_official 375:3d36234a1087 197 #define __HAL_PWR_PVD_EXTI_ENABLE_EVENT() (EXTI->EMR |= (PWR_EXTI_LINE_PVD))
mbed_official 375:3d36234a1087 198
mbed_official 375:3d36234a1087 199 /**
mbed_official 375:3d36234a1087 200 * @brief Disable event on PVD Exti Line 16.
mbed_official 375:3d36234a1087 201 * @retval None.
mbed_official 237:f3da66175598 202 */
mbed_official 375:3d36234a1087 203 #define __HAL_PWR_PVD_EXTI_DISABLE_EVENT() (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD))
mbed_official 375:3d36234a1087 204
mbed_official 375:3d36234a1087 205 /**
mbed_official 375:3d36234a1087 206 * @brief PVD EXTI line configuration: clear falling edge trigger and set rising edge.
mbed_official 375:3d36234a1087 207 * @retval None.
mbed_official 375:3d36234a1087 208 */
mbed_official 375:3d36234a1087 209 #define __HAL_PWR_PVD_EXTI_CLEAR_EGDE_TRIGGER() EXTI->FTSR &= ~(PWR_EXTI_LINE_PVD); \
mbed_official 375:3d36234a1087 210 EXTI->RTSR &= ~(PWR_EXTI_LINE_PVD)
mbed_official 375:3d36234a1087 211
mbed_official 375:3d36234a1087 212 /**
mbed_official 375:3d36234a1087 213 * @brief PVD EXTI line configuration: set falling edge trigger.
mbed_official 375:3d36234a1087 214 * @retval None.
mbed_official 375:3d36234a1087 215 */
mbed_official 375:3d36234a1087 216 #define __HAL_PWR_PVD_EXTI_SET_FALLING_EGDE_TRIGGER() EXTI->FTSR |= (PWR_EXTI_LINE_PVD)
mbed_official 375:3d36234a1087 217
mbed_official 375:3d36234a1087 218 /**
mbed_official 375:3d36234a1087 219 * @brief PVD EXTI line configuration: set rising edge trigger.
mbed_official 375:3d36234a1087 220 * @retval None.
mbed_official 375:3d36234a1087 221 */
mbed_official 375:3d36234a1087 222 #define __HAL_PWR_PVD_EXTI_SET_RISING_EDGE_TRIGGER() EXTI->RTSR |= (PWR_EXTI_LINE_PVD)
mbed_official 237:f3da66175598 223
mbed_official 237:f3da66175598 224 /**
mbed_official 237:f3da66175598 225 * @brief Check whether the specified PVD EXTI interrupt flag is set or not.
mbed_official 237:f3da66175598 226 * @retval EXTI PVD Line Status.
mbed_official 237:f3da66175598 227 */
mbed_official 375:3d36234a1087 228 #define __HAL_PWR_PVD_EXTI_GET_FLAG() (EXTI->PR & (PWR_EXTI_LINE_PVD))
mbed_official 237:f3da66175598 229
mbed_official 237:f3da66175598 230 /**
mbed_official 237:f3da66175598 231 * @brief Clear the PVD EXTI flag.
mbed_official 237:f3da66175598 232 * @retval None.
mbed_official 237:f3da66175598 233 */
mbed_official 375:3d36234a1087 234 #define __HAL_PWR_PVD_EXTI_CLEAR_FLAG() (EXTI->PR = (PWR_EXTI_LINE_PVD))
mbed_official 375:3d36234a1087 235
mbed_official 375:3d36234a1087 236 #endif /* STM32F302xE || STM32F303xE || */
mbed_official 375:3d36234a1087 237 /* STM32F302xC || STM32F303xC || */
mbed_official 375:3d36234a1087 238 /* STM32F303x8 || STM32F334x8 || */
mbed_official 375:3d36234a1087 239 /* STM32F301x8 || STM32F302x8 || */
mbed_official 375:3d36234a1087 240 /* STM32F373xC */
mbed_official 237:f3da66175598 241
mbed_official 237:f3da66175598 242 /**
mbed_official 237:f3da66175598 243 * @}
mbed_official 237:f3da66175598 244 */
mbed_official 237:f3da66175598 245
mbed_official 237:f3da66175598 246 /* Exported functions --------------------------------------------------------*/
mbed_official 237:f3da66175598 247
mbed_official 375:3d36234a1087 248 /** @addtogroup PWREx_Exported_Functions PWR Extended Exported Functions
mbed_official 375:3d36234a1087 249 * @{
mbed_official 375:3d36234a1087 250 */
mbed_official 375:3d36234a1087 251
mbed_official 375:3d36234a1087 252 /** @addtogroup PWREx_Exported_Functions_Group1 Peripheral Extended Control Functions
mbed_official 375:3d36234a1087 253 * @{
mbed_official 375:3d36234a1087 254 */
mbed_official 375:3d36234a1087 255 /* Peripheral Extended control functions **************************************/
mbed_official 375:3d36234a1087 256 #if defined(STM32F302xE) || defined(STM32F303xE) || \
mbed_official 375:3d36234a1087 257 defined(STM32F302xC) || defined(STM32F303xC) || \
mbed_official 375:3d36234a1087 258 defined(STM32F303x8) || defined(STM32F334x8) || \
mbed_official 375:3d36234a1087 259 defined(STM32F301x8) || defined(STM32F302x8) || \
mbed_official 375:3d36234a1087 260 defined(STM32F373xC)
mbed_official 237:f3da66175598 261 void HAL_PWR_PVDConfig(PWR_PVDTypeDef *sConfigPVD);
mbed_official 237:f3da66175598 262 void HAL_PWR_EnablePVD(void);
mbed_official 237:f3da66175598 263 void HAL_PWR_DisablePVD(void);
mbed_official 237:f3da66175598 264 void HAL_PWR_PVD_IRQHandler(void);
mbed_official 237:f3da66175598 265 void HAL_PWR_PVDCallback(void);
mbed_official 375:3d36234a1087 266 #endif /* STM32F302xE || STM32F303xE || */
mbed_official 375:3d36234a1087 267 /* STM32F302xC || STM32F303xC || */
mbed_official 375:3d36234a1087 268 /* STM32F303x8 || STM32F334x8 || */
mbed_official 375:3d36234a1087 269 /* STM32F301x8 || STM32F302x8 || */
mbed_official 375:3d36234a1087 270 /* STM32F373xC */
mbed_official 237:f3da66175598 271
mbed_official 237:f3da66175598 272 #if defined(STM32F373xC) || defined(STM32F378xx)
mbed_official 237:f3da66175598 273 void HAL_PWREx_EnableSDADCAnalog(uint32_t Analogx);
mbed_official 237:f3da66175598 274 void HAL_PWREx_DisableSDADCAnalog(uint32_t Analogx);
mbed_official 237:f3da66175598 275 #endif /* STM32F373xC || STM32F378xx */
mbed_official 237:f3da66175598 276
mbed_official 237:f3da66175598 277 /**
mbed_official 237:f3da66175598 278 * @}
mbed_official 237:f3da66175598 279 */
mbed_official 237:f3da66175598 280
mbed_official 237:f3da66175598 281 /**
mbed_official 237:f3da66175598 282 * @}
mbed_official 237:f3da66175598 283 */
mbed_official 237:f3da66175598 284
mbed_official 375:3d36234a1087 285 /**
mbed_official 375:3d36234a1087 286 * @}
mbed_official 375:3d36234a1087 287 */
mbed_official 375:3d36234a1087 288
mbed_official 375:3d36234a1087 289 /**
mbed_official 375:3d36234a1087 290 * @}
mbed_official 375:3d36234a1087 291 */
mbed_official 375:3d36234a1087 292
mbed_official 237:f3da66175598 293 #ifdef __cplusplus
mbed_official 237:f3da66175598 294 }
mbed_official 237:f3da66175598 295 #endif
mbed_official 237:f3da66175598 296
mbed_official 237:f3da66175598 297 #endif /* __STM32F3xx_HAL_PWR_EX_H */
mbed_official 237:f3da66175598 298
mbed_official 237:f3da66175598 299 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/