mbed library sources

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Fri Jun 19 09:15:11 2015 +0100
Revision:
573:ad23fe03a082
Synchronized with git revision d47834cd4d729e5b36b4c1ad4650f8b8f6a9ab86

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

DISCO_F746NG - Add new target

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 573:ad23fe03a082 1 /**
mbed_official 573:ad23fe03a082 2 ******************************************************************************
mbed_official 573:ad23fe03a082 3 * @file stm32f7xx_hal_pwr_ex.h
mbed_official 573:ad23fe03a082 4 * @author MCD Application Team
mbed_official 573:ad23fe03a082 5 * @version V1.0.0
mbed_official 573:ad23fe03a082 6 * @date 12-May-2015
mbed_official 573:ad23fe03a082 7 * @brief Header file of PWR HAL Extension module.
mbed_official 573:ad23fe03a082 8 ******************************************************************************
mbed_official 573:ad23fe03a082 9 * @attention
mbed_official 573:ad23fe03a082 10 *
mbed_official 573:ad23fe03a082 11 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
mbed_official 573:ad23fe03a082 12 *
mbed_official 573:ad23fe03a082 13 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 573:ad23fe03a082 14 * are permitted provided that the following conditions are met:
mbed_official 573:ad23fe03a082 15 * 1. Redistributions of source code must retain the above copyright notice,
mbed_official 573:ad23fe03a082 16 * this list of conditions and the following disclaimer.
mbed_official 573:ad23fe03a082 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 573:ad23fe03a082 18 * this list of conditions and the following disclaimer in the documentation
mbed_official 573:ad23fe03a082 19 * and/or other materials provided with the distribution.
mbed_official 573:ad23fe03a082 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
mbed_official 573:ad23fe03a082 21 * may be used to endorse or promote products derived from this software
mbed_official 573:ad23fe03a082 22 * without specific prior written permission.
mbed_official 573:ad23fe03a082 23 *
mbed_official 573:ad23fe03a082 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mbed_official 573:ad23fe03a082 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbed_official 573:ad23fe03a082 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 573:ad23fe03a082 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mbed_official 573:ad23fe03a082 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbed_official 573:ad23fe03a082 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mbed_official 573:ad23fe03a082 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mbed_official 573:ad23fe03a082 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mbed_official 573:ad23fe03a082 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mbed_official 573:ad23fe03a082 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 573:ad23fe03a082 34 *
mbed_official 573:ad23fe03a082 35 ******************************************************************************
mbed_official 573:ad23fe03a082 36 */
mbed_official 573:ad23fe03a082 37
mbed_official 573:ad23fe03a082 38 /* Define to prevent recursive inclusion -------------------------------------*/
mbed_official 573:ad23fe03a082 39 #ifndef __STM32F7xx_HAL_PWR_EX_H
mbed_official 573:ad23fe03a082 40 #define __STM32F7xx_HAL_PWR_EX_H
mbed_official 573:ad23fe03a082 41
mbed_official 573:ad23fe03a082 42 #ifdef __cplusplus
mbed_official 573:ad23fe03a082 43 extern "C" {
mbed_official 573:ad23fe03a082 44 #endif
mbed_official 573:ad23fe03a082 45
mbed_official 573:ad23fe03a082 46 /* Includes ------------------------------------------------------------------*/
mbed_official 573:ad23fe03a082 47 #include "stm32f7xx_hal_def.h"
mbed_official 573:ad23fe03a082 48
mbed_official 573:ad23fe03a082 49 /** @addtogroup STM32F7xx_HAL_Driver
mbed_official 573:ad23fe03a082 50 * @{
mbed_official 573:ad23fe03a082 51 */
mbed_official 573:ad23fe03a082 52
mbed_official 573:ad23fe03a082 53 /** @addtogroup PWREx
mbed_official 573:ad23fe03a082 54 * @{
mbed_official 573:ad23fe03a082 55 */
mbed_official 573:ad23fe03a082 56
mbed_official 573:ad23fe03a082 57 /* Exported types ------------------------------------------------------------*/
mbed_official 573:ad23fe03a082 58 /* Exported constants --------------------------------------------------------*/
mbed_official 573:ad23fe03a082 59 /** @defgroup PWREx_Exported_Constants PWREx Exported Constants
mbed_official 573:ad23fe03a082 60 * @{
mbed_official 573:ad23fe03a082 61 */
mbed_official 573:ad23fe03a082 62 /** @defgroup PWREx_WakeUp_Pins PWREx Wake Up Pins
mbed_official 573:ad23fe03a082 63 * @{
mbed_official 573:ad23fe03a082 64 */
mbed_official 573:ad23fe03a082 65 #define PWR_WAKEUP_PIN1 PWR_CSR2_EWUP1
mbed_official 573:ad23fe03a082 66 #define PWR_WAKEUP_PIN2 PWR_CSR2_EWUP2
mbed_official 573:ad23fe03a082 67 #define PWR_WAKEUP_PIN3 PWR_CSR2_EWUP3
mbed_official 573:ad23fe03a082 68 #define PWR_WAKEUP_PIN4 PWR_CSR2_EWUP4
mbed_official 573:ad23fe03a082 69 #define PWR_WAKEUP_PIN5 PWR_CSR2_EWUP5
mbed_official 573:ad23fe03a082 70 #define PWR_WAKEUP_PIN6 PWR_CSR2_EWUP6
mbed_official 573:ad23fe03a082 71 #define PWR_WAKEUP_PIN1_HIGH PWR_CSR2_EWUP1
mbed_official 573:ad23fe03a082 72 #define PWR_WAKEUP_PIN2_HIGH PWR_CSR2_EWUP2
mbed_official 573:ad23fe03a082 73 #define PWR_WAKEUP_PIN3_HIGH PWR_CSR2_EWUP3
mbed_official 573:ad23fe03a082 74 #define PWR_WAKEUP_PIN4_HIGH PWR_CSR2_EWUP4
mbed_official 573:ad23fe03a082 75 #define PWR_WAKEUP_PIN5_HIGH PWR_CSR2_EWUP5
mbed_official 573:ad23fe03a082 76 #define PWR_WAKEUP_PIN6_HIGH PWR_CSR2_EWUP6
mbed_official 573:ad23fe03a082 77 #define PWR_WAKEUP_PIN1_LOW (uint32_t)((PWR_CR2_WUPP1<<6) | PWR_CSR2_EWUP1)
mbed_official 573:ad23fe03a082 78 #define PWR_WAKEUP_PIN2_LOW (uint32_t)((PWR_CR2_WUPP2<<6) | PWR_CSR2_EWUP2)
mbed_official 573:ad23fe03a082 79 #define PWR_WAKEUP_PIN3_LOW (uint32_t)((PWR_CR2_WUPP3<<6) | PWR_CSR2_EWUP3)
mbed_official 573:ad23fe03a082 80 #define PWR_WAKEUP_PIN4_LOW (uint32_t)((PWR_CR2_WUPP4<<6) | PWR_CSR2_EWUP4)
mbed_official 573:ad23fe03a082 81 #define PWR_WAKEUP_PIN5_LOW (uint32_t)((PWR_CR2_WUPP5<<6) | PWR_CSR2_EWUP5)
mbed_official 573:ad23fe03a082 82 #define PWR_WAKEUP_PIN6_LOW (uint32_t)((PWR_CR2_WUPP6<<6) | PWR_CSR2_EWUP6)
mbed_official 573:ad23fe03a082 83
mbed_official 573:ad23fe03a082 84 /**
mbed_official 573:ad23fe03a082 85 * @}
mbed_official 573:ad23fe03a082 86 */
mbed_official 573:ad23fe03a082 87
mbed_official 573:ad23fe03a082 88 /** @defgroup PWREx_Regulator_state_in_UnderDrive_mode PWREx Regulator state in UnderDrive mode
mbed_official 573:ad23fe03a082 89 * @{
mbed_official 573:ad23fe03a082 90 */
mbed_official 573:ad23fe03a082 91 #define PWR_MAINREGULATOR_UNDERDRIVE_ON PWR_CR1_MRUDS
mbed_official 573:ad23fe03a082 92 #define PWR_LOWPOWERREGULATOR_UNDERDRIVE_ON ((uint32_t)(PWR_CR1_LPDS | PWR_CR1_LPUDS))
mbed_official 573:ad23fe03a082 93 /**
mbed_official 573:ad23fe03a082 94 * @}
mbed_official 573:ad23fe03a082 95 */
mbed_official 573:ad23fe03a082 96
mbed_official 573:ad23fe03a082 97 /** @defgroup PWREx_Over_Under_Drive_Flag PWREx Over Under Drive Flag
mbed_official 573:ad23fe03a082 98 * @{
mbed_official 573:ad23fe03a082 99 */
mbed_official 573:ad23fe03a082 100 #define PWR_FLAG_ODRDY PWR_CSR1_ODRDY
mbed_official 573:ad23fe03a082 101 #define PWR_FLAG_ODSWRDY PWR_CSR1_ODSWRDY
mbed_official 573:ad23fe03a082 102 #define PWR_FLAG_UDRDY PWR_CSR1_UDSWRDY
mbed_official 573:ad23fe03a082 103 /**
mbed_official 573:ad23fe03a082 104 * @}
mbed_official 573:ad23fe03a082 105 */
mbed_official 573:ad23fe03a082 106
mbed_official 573:ad23fe03a082 107 /** @defgroup PWREx_Wakeup_Pins_Flag PWREx Wake Up Pin Flags
mbed_official 573:ad23fe03a082 108 * @{
mbed_official 573:ad23fe03a082 109 */
mbed_official 573:ad23fe03a082 110 #define PWR_WAKEUP_PIN_FLAG1 PWR_CSR2_WUPF1
mbed_official 573:ad23fe03a082 111 #define PWR_WAKEUP_PIN_FLAG2 PWR_CSR2_WUPF2
mbed_official 573:ad23fe03a082 112 #define PWR_WAKEUP_PIN_FLAG3 PWR_CSR2_WUPF3
mbed_official 573:ad23fe03a082 113 #define PWR_WAKEUP_PIN_FLAG4 PWR_CSR2_WUPF4
mbed_official 573:ad23fe03a082 114 #define PWR_WAKEUP_PIN_FLAG5 PWR_CSR2_WUPF5
mbed_official 573:ad23fe03a082 115 #define PWR_WAKEUP_PIN_FLAG6 PWR_CSR2_WUPF6
mbed_official 573:ad23fe03a082 116 /**
mbed_official 573:ad23fe03a082 117 * @}
mbed_official 573:ad23fe03a082 118 */
mbed_official 573:ad23fe03a082 119
mbed_official 573:ad23fe03a082 120 /**
mbed_official 573:ad23fe03a082 121 * @}
mbed_official 573:ad23fe03a082 122 */
mbed_official 573:ad23fe03a082 123
mbed_official 573:ad23fe03a082 124 /* Exported macro ------------------------------------------------------------*/
mbed_official 573:ad23fe03a082 125 /** @defgroup PWREx_Exported_Macro PWREx Exported Macro
mbed_official 573:ad23fe03a082 126 * @{
mbed_official 573:ad23fe03a082 127 */
mbed_official 573:ad23fe03a082 128 /** @brief Macros to enable or disable the Over drive mode.
mbed_official 573:ad23fe03a082 129 */
mbed_official 573:ad23fe03a082 130 #define __HAL_PWR_OVERDRIVE_ENABLE() (PWR->CR1 |= (uint32_t)PWR_CR1_ODEN)
mbed_official 573:ad23fe03a082 131 #define __HAL_PWR_OVERDRIVE_DISABLE() (PWR->CR1 &= (uint32_t)(~PWR_CR1_ODEN))
mbed_official 573:ad23fe03a082 132
mbed_official 573:ad23fe03a082 133 /** @brief Macros to enable or disable the Over drive switching.
mbed_official 573:ad23fe03a082 134 */
mbed_official 573:ad23fe03a082 135 #define __HAL_PWR_OVERDRIVESWITCHING_ENABLE() (PWR->CR1 |= (uint32_t)PWR_CR1_ODSWEN)
mbed_official 573:ad23fe03a082 136 #define __HAL_PWR_OVERDRIVESWITCHING_DISABLE() (PWR->CR1 &= (uint32_t)(~PWR_CR1_ODSWEN))
mbed_official 573:ad23fe03a082 137
mbed_official 573:ad23fe03a082 138 /** @brief Macros to enable or disable the Under drive mode.
mbed_official 573:ad23fe03a082 139 * @note This mode is enabled only with STOP low power mode.
mbed_official 573:ad23fe03a082 140 * In this mode, the 1.2V domain is preserved in reduced leakage mode. This
mbed_official 573:ad23fe03a082 141 * mode is only available when the main regulator or the low power regulator
mbed_official 573:ad23fe03a082 142 * is in low voltage mode.
mbed_official 573:ad23fe03a082 143 * @note If the Under-drive mode was enabled, it is automatically disabled after
mbed_official 573:ad23fe03a082 144 * exiting Stop mode.
mbed_official 573:ad23fe03a082 145 * When the voltage regulator operates in Under-drive mode, an additional
mbed_official 573:ad23fe03a082 146 * startup delay is induced when waking up from Stop mode.
mbed_official 573:ad23fe03a082 147 */
mbed_official 573:ad23fe03a082 148 #define __HAL_PWR_UNDERDRIVE_ENABLE() (PWR->CR1 |= (uint32_t)PWR_CR1_UDEN)
mbed_official 573:ad23fe03a082 149 #define __HAL_PWR_UNDERDRIVE_DISABLE() (PWR->CR1 &= (uint32_t)(~PWR_CR1_UDEN))
mbed_official 573:ad23fe03a082 150
mbed_official 573:ad23fe03a082 151 /** @brief Check PWR flag is set or not.
mbed_official 573:ad23fe03a082 152 * @param __FLAG__: specifies the flag to check.
mbed_official 573:ad23fe03a082 153 * This parameter can be one of the following values:
mbed_official 573:ad23fe03a082 154 * @arg PWR_FLAG_ODRDY: This flag indicates that the Over-drive mode
mbed_official 573:ad23fe03a082 155 * is ready
mbed_official 573:ad23fe03a082 156 * @arg PWR_FLAG_ODSWRDY: This flag indicates that the Over-drive mode
mbed_official 573:ad23fe03a082 157 * switching is ready
mbed_official 573:ad23fe03a082 158 * @arg PWR_FLAG_UDRDY: This flag indicates that the Under-drive mode
mbed_official 573:ad23fe03a082 159 * is enabled in Stop mode
mbed_official 573:ad23fe03a082 160 * @retval The new state of __FLAG__ (TRUE or FALSE).
mbed_official 573:ad23fe03a082 161 */
mbed_official 573:ad23fe03a082 162 #define __HAL_PWR_GET_ODRUDR_FLAG(__FLAG__) ((PWR->CSR1 & (__FLAG__)) == (__FLAG__))
mbed_official 573:ad23fe03a082 163
mbed_official 573:ad23fe03a082 164 /** @brief Clear the Under-Drive Ready flag.
mbed_official 573:ad23fe03a082 165 */
mbed_official 573:ad23fe03a082 166 #define __HAL_PWR_CLEAR_ODRUDR_FLAG() (PWR->CSR1 |= PWR_FLAG_UDRDY)
mbed_official 573:ad23fe03a082 167
mbed_official 573:ad23fe03a082 168 /** @brief Check Wake Up flag is set or not.
mbed_official 573:ad23fe03a082 169 * @param __WUFLAG__: specifies the Wake Up flag to check.
mbed_official 573:ad23fe03a082 170 * This parameter can be one of the following values:
mbed_official 573:ad23fe03a082 171 * @arg PWR_WAKEUP_PIN_FLAG1: Wakeup Pin Flag for PA0
mbed_official 573:ad23fe03a082 172 * @arg PWR_WAKEUP_PIN_FLAG2: Wakeup Pin Flag for PA2
mbed_official 573:ad23fe03a082 173 * @arg PWR_WAKEUP_PIN_FLAG3: Wakeup Pin Flag for PC1
mbed_official 573:ad23fe03a082 174 * @arg PWR_WAKEUP_PIN_FLAG4: Wakeup Pin Flag for PC13
mbed_official 573:ad23fe03a082 175 * @arg PWR_WAKEUP_PIN_FLAG5: Wakeup Pin Flag for PI8
mbed_official 573:ad23fe03a082 176 * @arg PWR_WAKEUP_PIN_FLAG6: Wakeup Pin Flag for PI11
mbed_official 573:ad23fe03a082 177 */
mbed_official 573:ad23fe03a082 178 #define __HAL_PWR_GET_WAKEUP_FLAG(__WUFLAG__) (PWR->CSR2 & (__WUFLAG__))
mbed_official 573:ad23fe03a082 179
mbed_official 573:ad23fe03a082 180 /** @brief Clear the WakeUp pins flags.
mbed_official 573:ad23fe03a082 181 * @param __WUFLAG__: specifies the Wake Up pin flag to clear.
mbed_official 573:ad23fe03a082 182 * This parameter can be one of the following values:
mbed_official 573:ad23fe03a082 183 * @arg PWR_WAKEUP_PIN_FLAG1: Wakeup Pin Flag for PA0
mbed_official 573:ad23fe03a082 184 * @arg PWR_WAKEUP_PIN_FLAG2: Wakeup Pin Flag for PA2
mbed_official 573:ad23fe03a082 185 * @arg PWR_WAKEUP_PIN_FLAG3: Wakeup Pin Flag for PC1
mbed_official 573:ad23fe03a082 186 * @arg PWR_WAKEUP_PIN_FLAG4: Wakeup Pin Flag for PC13
mbed_official 573:ad23fe03a082 187 * @arg PWR_WAKEUP_PIN_FLAG5: Wakeup Pin Flag for PI8
mbed_official 573:ad23fe03a082 188 * @arg PWR_WAKEUP_PIN_FLAG6: Wakeup Pin Flag for PI11
mbed_official 573:ad23fe03a082 189 */
mbed_official 573:ad23fe03a082 190 #define __HAL_PWR_CLEAR_WAKEUP_FLAG(__WUFLAG__) (PWR->CR2 |= (__WUFLAG__))
mbed_official 573:ad23fe03a082 191 /**
mbed_official 573:ad23fe03a082 192 * @}
mbed_official 573:ad23fe03a082 193 */
mbed_official 573:ad23fe03a082 194 /* Exported functions --------------------------------------------------------*/
mbed_official 573:ad23fe03a082 195 /** @addtogroup PWREx_Exported_Functions PWREx Exported Functions
mbed_official 573:ad23fe03a082 196 * @{
mbed_official 573:ad23fe03a082 197 */
mbed_official 573:ad23fe03a082 198
mbed_official 573:ad23fe03a082 199 /** @addtogroup PWREx_Exported_Functions_Group1
mbed_official 573:ad23fe03a082 200 * @{
mbed_official 573:ad23fe03a082 201 */
mbed_official 573:ad23fe03a082 202 uint32_t HAL_PWREx_GetVoltageRange(void);
mbed_official 573:ad23fe03a082 203 HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling);
mbed_official 573:ad23fe03a082 204
mbed_official 573:ad23fe03a082 205 void HAL_PWREx_EnableFlashPowerDown(void);
mbed_official 573:ad23fe03a082 206 void HAL_PWREx_DisableFlashPowerDown(void);
mbed_official 573:ad23fe03a082 207 HAL_StatusTypeDef HAL_PWREx_EnableBkUpReg(void);
mbed_official 573:ad23fe03a082 208 HAL_StatusTypeDef HAL_PWREx_DisableBkUpReg(void);
mbed_official 573:ad23fe03a082 209
mbed_official 573:ad23fe03a082 210 void HAL_PWREx_EnableMainRegulatorLowVoltage(void);
mbed_official 573:ad23fe03a082 211 void HAL_PWREx_DisableMainRegulatorLowVoltage(void);
mbed_official 573:ad23fe03a082 212 void HAL_PWREx_EnableLowRegulatorLowVoltage(void);
mbed_official 573:ad23fe03a082 213 void HAL_PWREx_DisableLowRegulatorLowVoltage(void);
mbed_official 573:ad23fe03a082 214
mbed_official 573:ad23fe03a082 215 HAL_StatusTypeDef HAL_PWREx_EnableOverDrive(void);
mbed_official 573:ad23fe03a082 216 HAL_StatusTypeDef HAL_PWREx_DisableOverDrive(void);
mbed_official 573:ad23fe03a082 217 HAL_StatusTypeDef HAL_PWREx_EnterUnderDriveSTOPMode(uint32_t Regulator, uint8_t STOPEntry);
mbed_official 573:ad23fe03a082 218
mbed_official 573:ad23fe03a082 219 /**
mbed_official 573:ad23fe03a082 220 * @}
mbed_official 573:ad23fe03a082 221 */
mbed_official 573:ad23fe03a082 222
mbed_official 573:ad23fe03a082 223 /**
mbed_official 573:ad23fe03a082 224 * @}
mbed_official 573:ad23fe03a082 225 */
mbed_official 573:ad23fe03a082 226 /* Private types -------------------------------------------------------------*/
mbed_official 573:ad23fe03a082 227 /* Private variables ---------------------------------------------------------*/
mbed_official 573:ad23fe03a082 228 /* Private constants ---------------------------------------------------------*/
mbed_official 573:ad23fe03a082 229 /* Private macros ------------------------------------------------------------*/
mbed_official 573:ad23fe03a082 230 /** @defgroup PWREx_Private_Macros PWREx Private Macros
mbed_official 573:ad23fe03a082 231 * @{
mbed_official 573:ad23fe03a082 232 */
mbed_official 573:ad23fe03a082 233
mbed_official 573:ad23fe03a082 234 /** @defgroup PWREx_IS_PWR_Definitions PWREx Private macros to check input parameters
mbed_official 573:ad23fe03a082 235 * @{
mbed_official 573:ad23fe03a082 236 */
mbed_official 573:ad23fe03a082 237 #define IS_PWR_REGULATOR_UNDERDRIVE(REGULATOR) (((REGULATOR) == PWR_MAINREGULATOR_UNDERDRIVE_ON) || \
mbed_official 573:ad23fe03a082 238 ((REGULATOR) == PWR_LOWPOWERREGULATOR_UNDERDRIVE_ON))
mbed_official 573:ad23fe03a082 239 #define IS_PWR_WAKEUP_PIN(__PIN__) (((__PIN__) == PWR_WAKEUP_PIN1) || \
mbed_official 573:ad23fe03a082 240 ((__PIN__) == PWR_WAKEUP_PIN2) || \
mbed_official 573:ad23fe03a082 241 ((__PIN__) == PWR_WAKEUP_PIN3) || \
mbed_official 573:ad23fe03a082 242 ((__PIN__) == PWR_WAKEUP_PIN4) || \
mbed_official 573:ad23fe03a082 243 ((__PIN__) == PWR_WAKEUP_PIN5) || \
mbed_official 573:ad23fe03a082 244 ((__PIN__) == PWR_WAKEUP_PIN6) || \
mbed_official 573:ad23fe03a082 245 ((__PIN__) == PWR_WAKEUP_PIN1_HIGH) || \
mbed_official 573:ad23fe03a082 246 ((__PIN__) == PWR_WAKEUP_PIN2_HIGH) || \
mbed_official 573:ad23fe03a082 247 ((__PIN__) == PWR_WAKEUP_PIN3_HIGH) || \
mbed_official 573:ad23fe03a082 248 ((__PIN__) == PWR_WAKEUP_PIN4_HIGH) || \
mbed_official 573:ad23fe03a082 249 ((__PIN__) == PWR_WAKEUP_PIN5_HIGH) || \
mbed_official 573:ad23fe03a082 250 ((__PIN__) == PWR_WAKEUP_PIN6_HIGH) || \
mbed_official 573:ad23fe03a082 251 ((__PIN__) == PWR_WAKEUP_PIN1_LOW) || \
mbed_official 573:ad23fe03a082 252 ((__PIN__) == PWR_WAKEUP_PIN2_LOW) || \
mbed_official 573:ad23fe03a082 253 ((__PIN__) == PWR_WAKEUP_PIN3_LOW) || \
mbed_official 573:ad23fe03a082 254 ((__PIN__) == PWR_WAKEUP_PIN4_LOW) || \
mbed_official 573:ad23fe03a082 255 ((__PIN__) == PWR_WAKEUP_PIN5_LOW) || \
mbed_official 573:ad23fe03a082 256 ((__PIN__) == PWR_WAKEUP_PIN6_LOW))
mbed_official 573:ad23fe03a082 257 /**
mbed_official 573:ad23fe03a082 258 * @}
mbed_official 573:ad23fe03a082 259 */
mbed_official 573:ad23fe03a082 260
mbed_official 573:ad23fe03a082 261 /**
mbed_official 573:ad23fe03a082 262 * @}
mbed_official 573:ad23fe03a082 263 */
mbed_official 573:ad23fe03a082 264
mbed_official 573:ad23fe03a082 265 /**
mbed_official 573:ad23fe03a082 266 * @}
mbed_official 573:ad23fe03a082 267 */
mbed_official 573:ad23fe03a082 268
mbed_official 573:ad23fe03a082 269 /**
mbed_official 573:ad23fe03a082 270 * @}
mbed_official 573:ad23fe03a082 271 */
mbed_official 573:ad23fe03a082 272
mbed_official 573:ad23fe03a082 273 #ifdef __cplusplus
mbed_official 573:ad23fe03a082 274 }
mbed_official 573:ad23fe03a082 275 #endif
mbed_official 573:ad23fe03a082 276
mbed_official 573:ad23fe03a082 277
mbed_official 573:ad23fe03a082 278 #endif /* __STM32F7xx_HAL_PWR_EX_H */
mbed_official 573:ad23fe03a082 279
mbed_official 573:ad23fe03a082 280 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/