mbed library sources

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Mon Nov 03 10:30:07 2014 +0000
Revision:
381:5460fc57b6e4
Synchronized with git revision 02478cd1f27fc7b9643486472635eb515b2bca81

Full URL: https://github.com/mbedmicro/mbed/commit/02478cd1f27fc7b9643486472635eb515b2bca81/

Target: LPC1549 - Fix serial interrupt issues (issue report #616)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 381:5460fc57b6e4 1 /**
mbed_official 381:5460fc57b6e4 2 ******************************************************************************
mbed_official 381:5460fc57b6e4 3 * @file stm32f3xx_hal_wwdg.h
mbed_official 381:5460fc57b6e4 4 * @author MCD Application Team
mbed_official 381:5460fc57b6e4 5 * @version V1.1.0
mbed_official 381:5460fc57b6e4 6 * @date 12-Sept-2014
mbed_official 381:5460fc57b6e4 7 * @brief Header file of WWDG HAL module.
mbed_official 381:5460fc57b6e4 8 ******************************************************************************
mbed_official 381:5460fc57b6e4 9 * @attention
mbed_official 381:5460fc57b6e4 10 *
mbed_official 381:5460fc57b6e4 11 * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
mbed_official 381:5460fc57b6e4 12 *
mbed_official 381:5460fc57b6e4 13 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 381:5460fc57b6e4 14 * are permitted provided that the following conditions are met:
mbed_official 381:5460fc57b6e4 15 * 1. Redistributions of source code must retain the above copyright notice,
mbed_official 381:5460fc57b6e4 16 * this list of conditions and the following disclaimer.
mbed_official 381:5460fc57b6e4 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 381:5460fc57b6e4 18 * this list of conditions and the following disclaimer in the documentation
mbed_official 381:5460fc57b6e4 19 * and/or other materials provided with the distribution.
mbed_official 381:5460fc57b6e4 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
mbed_official 381:5460fc57b6e4 21 * may be used to endorse or promote products derived from this software
mbed_official 381:5460fc57b6e4 22 * without specific prior written permission.
mbed_official 381:5460fc57b6e4 23 *
mbed_official 381:5460fc57b6e4 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mbed_official 381:5460fc57b6e4 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbed_official 381:5460fc57b6e4 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 381:5460fc57b6e4 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mbed_official 381:5460fc57b6e4 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbed_official 381:5460fc57b6e4 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mbed_official 381:5460fc57b6e4 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mbed_official 381:5460fc57b6e4 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mbed_official 381:5460fc57b6e4 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mbed_official 381:5460fc57b6e4 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 381:5460fc57b6e4 34 *
mbed_official 381:5460fc57b6e4 35 ******************************************************************************
mbed_official 381:5460fc57b6e4 36 */
mbed_official 381:5460fc57b6e4 37
mbed_official 381:5460fc57b6e4 38 /* Define to prevent recursive inclusion -------------------------------------*/
mbed_official 381:5460fc57b6e4 39 #ifndef __STM32F3xx_HAL_WWDG_H
mbed_official 381:5460fc57b6e4 40 #define __STM32F3xx_HAL_WWDG_H
mbed_official 381:5460fc57b6e4 41
mbed_official 381:5460fc57b6e4 42 #ifdef __cplusplus
mbed_official 381:5460fc57b6e4 43 extern "C" {
mbed_official 381:5460fc57b6e4 44 #endif
mbed_official 381:5460fc57b6e4 45
mbed_official 381:5460fc57b6e4 46 /* Includes ------------------------------------------------------------------*/
mbed_official 381:5460fc57b6e4 47 #include "stm32f3xx_hal_def.h"
mbed_official 381:5460fc57b6e4 48
mbed_official 381:5460fc57b6e4 49 /** @addtogroup STM32F3xx_HAL_Driver
mbed_official 381:5460fc57b6e4 50 * @{
mbed_official 381:5460fc57b6e4 51 */
mbed_official 381:5460fc57b6e4 52
mbed_official 381:5460fc57b6e4 53 /** @addtogroup WWDG
mbed_official 381:5460fc57b6e4 54 * @{
mbed_official 381:5460fc57b6e4 55 */
mbed_official 381:5460fc57b6e4 56
mbed_official 381:5460fc57b6e4 57 /* Exported types ------------------------------------------------------------*/
mbed_official 381:5460fc57b6e4 58
mbed_official 381:5460fc57b6e4 59 /** @defgroup WWDG_Exported_Types WWDG Exported Types
mbed_official 381:5460fc57b6e4 60 * @{
mbed_official 381:5460fc57b6e4 61 */
mbed_official 381:5460fc57b6e4 62 /**
mbed_official 381:5460fc57b6e4 63 * @brief WWDG HAL State Structure definition
mbed_official 381:5460fc57b6e4 64 */
mbed_official 381:5460fc57b6e4 65 typedef enum
mbed_official 381:5460fc57b6e4 66 {
mbed_official 381:5460fc57b6e4 67 HAL_WWDG_STATE_RESET = 0x00, /*!< WWDG not yet initialized or disabled */
mbed_official 381:5460fc57b6e4 68 HAL_WWDG_STATE_READY = 0x01, /*!< WWDG initialized and ready for use */
mbed_official 381:5460fc57b6e4 69 HAL_WWDG_STATE_BUSY = 0x02, /*!< WWDG internal process is ongoing */
mbed_official 381:5460fc57b6e4 70 HAL_WWDG_STATE_TIMEOUT = 0x03, /*!< WWDG timeout state */
mbed_official 381:5460fc57b6e4 71 HAL_WWDG_STATE_ERROR = 0x04 /*!< WWDG error state */
mbed_official 381:5460fc57b6e4 72
mbed_official 381:5460fc57b6e4 73 }HAL_WWDG_StateTypeDef;
mbed_official 381:5460fc57b6e4 74
mbed_official 381:5460fc57b6e4 75 /**
mbed_official 381:5460fc57b6e4 76 * @brief WWDG Init structure definition
mbed_official 381:5460fc57b6e4 77 */
mbed_official 381:5460fc57b6e4 78 typedef struct
mbed_official 381:5460fc57b6e4 79 {
mbed_official 381:5460fc57b6e4 80 uint32_t Prescaler; /*!< Specifies the prescaler value of the WWDG.
mbed_official 381:5460fc57b6e4 81 This parameter can be a value of @ref WWDG_Prescaler */
mbed_official 381:5460fc57b6e4 82
mbed_official 381:5460fc57b6e4 83 uint32_t Window; /*!< Specifies the WWDG window value to be compared to the downcounter.
mbed_official 381:5460fc57b6e4 84 This parameter must be a number lower than Max_Data = 0x80 */
mbed_official 381:5460fc57b6e4 85
mbed_official 381:5460fc57b6e4 86 uint32_t Counter; /*!< Specifies the WWDG free-running downcounter value.
mbed_official 381:5460fc57b6e4 87 This parameter must be a number between Min_Data = 0x40 and Max_Data = 0x7F */
mbed_official 381:5460fc57b6e4 88
mbed_official 381:5460fc57b6e4 89 } WWDG_InitTypeDef;
mbed_official 381:5460fc57b6e4 90
mbed_official 381:5460fc57b6e4 91 /**
mbed_official 381:5460fc57b6e4 92 * @brief WWDG Handle Structure definition
mbed_official 381:5460fc57b6e4 93 */
mbed_official 381:5460fc57b6e4 94 typedef struct
mbed_official 381:5460fc57b6e4 95 {
mbed_official 381:5460fc57b6e4 96 WWDG_TypeDef *Instance; /*!< Register base address */
mbed_official 381:5460fc57b6e4 97
mbed_official 381:5460fc57b6e4 98 WWDG_InitTypeDef Init; /*!< WWDG required parameters */
mbed_official 381:5460fc57b6e4 99
mbed_official 381:5460fc57b6e4 100 HAL_LockTypeDef Lock; /*!< WWDG Locking object */
mbed_official 381:5460fc57b6e4 101
mbed_official 381:5460fc57b6e4 102 __IO HAL_WWDG_StateTypeDef State; /*!< WWDG communication state */
mbed_official 381:5460fc57b6e4 103
mbed_official 381:5460fc57b6e4 104 } WWDG_HandleTypeDef;
mbed_official 381:5460fc57b6e4 105
mbed_official 381:5460fc57b6e4 106 /**
mbed_official 381:5460fc57b6e4 107 * @}
mbed_official 381:5460fc57b6e4 108 */
mbed_official 381:5460fc57b6e4 109
mbed_official 381:5460fc57b6e4 110 /* Exported constants --------------------------------------------------------*/
mbed_official 381:5460fc57b6e4 111
mbed_official 381:5460fc57b6e4 112 /** @defgroup WWDG_Exported_Constants WWDG Exported Constants
mbed_official 381:5460fc57b6e4 113 * @{
mbed_official 381:5460fc57b6e4 114 */
mbed_official 381:5460fc57b6e4 115
mbed_official 381:5460fc57b6e4 116 /** @defgroup WWDG_BitAddress_AliasRegion WWDG registers bit address in the alias region
mbed_official 381:5460fc57b6e4 117 * @brief WWDG registers bit address in the alias region
mbed_official 381:5460fc57b6e4 118 * @{
mbed_official 381:5460fc57b6e4 119 */
mbed_official 381:5460fc57b6e4 120
mbed_official 381:5460fc57b6e4 121 /* --- CFR Register ---*/
mbed_official 381:5460fc57b6e4 122 /* Alias word address of EWI bit */
mbed_official 381:5460fc57b6e4 123 #define CFR_BASE (uint32_t)(WWDG_BASE + 0x04)
mbed_official 381:5460fc57b6e4 124
mbed_official 381:5460fc57b6e4 125 /**
mbed_official 381:5460fc57b6e4 126 * @}
mbed_official 381:5460fc57b6e4 127 */
mbed_official 381:5460fc57b6e4 128
mbed_official 381:5460fc57b6e4 129 /** @defgroup WWDG_Interrupt_definition WWDG Interrupt definition
mbed_official 381:5460fc57b6e4 130 * @brief WWDG registers bit address in the alias region
mbed_official 381:5460fc57b6e4 131 * @{
mbed_official 381:5460fc57b6e4 132 */
mbed_official 381:5460fc57b6e4 133 #define WWDG_IT_EWI ((uint32_t)WWDG_CFR_EWI)
mbed_official 381:5460fc57b6e4 134
mbed_official 381:5460fc57b6e4 135 #define IS_WWDG_IT(__IT__) ((__IT__) == WWDG_IT_EWI)
mbed_official 381:5460fc57b6e4 136
mbed_official 381:5460fc57b6e4 137 /**
mbed_official 381:5460fc57b6e4 138 * @}
mbed_official 381:5460fc57b6e4 139 */
mbed_official 381:5460fc57b6e4 140
mbed_official 381:5460fc57b6e4 141 /** @defgroup WWDG_Flag_definition WWDG Flag definition
mbed_official 381:5460fc57b6e4 142 * @brief WWDG Flag definition
mbed_official 381:5460fc57b6e4 143 * @{
mbed_official 381:5460fc57b6e4 144 */
mbed_official 381:5460fc57b6e4 145 #define WWDG_FLAG_EWIF ((uint32_t)WWDG_SR_EWIF) /*!< Early Wakeup Interrupt Flag */
mbed_official 381:5460fc57b6e4 146
mbed_official 381:5460fc57b6e4 147 #define IS_WWDG_FLAG(__FLAG__) ((__FLAG__) == WWDG_FLAG_EWIF))
mbed_official 381:5460fc57b6e4 148
mbed_official 381:5460fc57b6e4 149 /**
mbed_official 381:5460fc57b6e4 150 * @}
mbed_official 381:5460fc57b6e4 151 */
mbed_official 381:5460fc57b6e4 152
mbed_official 381:5460fc57b6e4 153 /** @defgroup WWDG_Prescaler WWDG Prescaler
mbed_official 381:5460fc57b6e4 154 * @{
mbed_official 381:5460fc57b6e4 155 */
mbed_official 381:5460fc57b6e4 156 #define WWDG_PRESCALER_1 ((uint32_t)0x00000000) /*!< WWDG counter clock = (PCLK1/4096)/1 */
mbed_official 381:5460fc57b6e4 157 #define WWDG_PRESCALER_2 ((uint32_t)WWDG_CFR_WDGTB0) /*!< WWDG counter clock = (PCLK1/4096)/2 */
mbed_official 381:5460fc57b6e4 158 #define WWDG_PRESCALER_4 ((uint32_t)WWDG_CFR_WDGTB1) /*!< WWDG counter clock = (PCLK1/4096)/4 */
mbed_official 381:5460fc57b6e4 159 #define WWDG_PRESCALER_8 ((uint32_t)WWDG_CFR_WDGTB) /*!< WWDG counter clock = (PCLK1/4096)/8 */
mbed_official 381:5460fc57b6e4 160
mbed_official 381:5460fc57b6e4 161 #define IS_WWDG_PRESCALER(__PRESCALER__) (((__PRESCALER__) == WWDG_PRESCALER_1) || \
mbed_official 381:5460fc57b6e4 162 ((__PRESCALER__) == WWDG_PRESCALER_2) || \
mbed_official 381:5460fc57b6e4 163 ((__PRESCALER__) == WWDG_PRESCALER_4) || \
mbed_official 381:5460fc57b6e4 164 ((__PRESCALER__) == WWDG_PRESCALER_8))
mbed_official 381:5460fc57b6e4 165
mbed_official 381:5460fc57b6e4 166 /**
mbed_official 381:5460fc57b6e4 167 * @}
mbed_official 381:5460fc57b6e4 168 */
mbed_official 381:5460fc57b6e4 169
mbed_official 381:5460fc57b6e4 170 /** @defgroup WWDG_Window WWDG Window
mbed_official 381:5460fc57b6e4 171 * @{
mbed_official 381:5460fc57b6e4 172 */
mbed_official 381:5460fc57b6e4 173 #define IS_WWDG_WINDOW(__WINDOW__) ((__WINDOW__) <= 0x7F)
mbed_official 381:5460fc57b6e4 174
mbed_official 381:5460fc57b6e4 175 /**
mbed_official 381:5460fc57b6e4 176 * @}
mbed_official 381:5460fc57b6e4 177 */
mbed_official 381:5460fc57b6e4 178
mbed_official 381:5460fc57b6e4 179 /** @defgroup WWDG_Counter WWDG Counter
mbed_official 381:5460fc57b6e4 180 * @{
mbed_official 381:5460fc57b6e4 181 */
mbed_official 381:5460fc57b6e4 182 #define IS_WWDG_COUNTER(__COUNTER__) (((__COUNTER__) >= 0x40) && ((__COUNTER__) <= 0x7F))
mbed_official 381:5460fc57b6e4 183
mbed_official 381:5460fc57b6e4 184 /**
mbed_official 381:5460fc57b6e4 185 * @}
mbed_official 381:5460fc57b6e4 186 */
mbed_official 381:5460fc57b6e4 187
mbed_official 381:5460fc57b6e4 188 /**
mbed_official 381:5460fc57b6e4 189 * @}
mbed_official 381:5460fc57b6e4 190 */
mbed_official 381:5460fc57b6e4 191
mbed_official 381:5460fc57b6e4 192 /* Exported macros -----------------------------------------------------------*/
mbed_official 381:5460fc57b6e4 193
mbed_official 381:5460fc57b6e4 194 /** @defgroup WWDG_Exported_Macros WWDG Exported Macros
mbed_official 381:5460fc57b6e4 195 * @{
mbed_official 381:5460fc57b6e4 196 */
mbed_official 381:5460fc57b6e4 197
mbed_official 381:5460fc57b6e4 198 /** @brief Reset WWDG handle state
mbed_official 381:5460fc57b6e4 199 * @param __HANDLE__: WWDG handle.
mbed_official 381:5460fc57b6e4 200 * @retval None
mbed_official 381:5460fc57b6e4 201 */
mbed_official 381:5460fc57b6e4 202 #define __HAL_WWDG_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_WWDG_STATE_RESET)
mbed_official 381:5460fc57b6e4 203
mbed_official 381:5460fc57b6e4 204 /**
mbed_official 381:5460fc57b6e4 205 * @brief Enable the WWDG peripheral.
mbed_official 381:5460fc57b6e4 206 * @param __HANDLE__: WWDG handle
mbed_official 381:5460fc57b6e4 207 * @retval None
mbed_official 381:5460fc57b6e4 208 */
mbed_official 381:5460fc57b6e4 209 #define __HAL_WWDG_ENABLE(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CR, WWDG_CR_WDGA)
mbed_official 381:5460fc57b6e4 210
mbed_official 381:5460fc57b6e4 211 /**
mbed_official 381:5460fc57b6e4 212 * @brief Get the selected WWDG's flag status.
mbed_official 381:5460fc57b6e4 213 * @param __HANDLE__: WWDG handle
mbed_official 381:5460fc57b6e4 214 * @param __FLAG__: specifies the flag to check.
mbed_official 381:5460fc57b6e4 215 * This parameter can be one of the following values:
mbed_official 381:5460fc57b6e4 216 * @arg WWDG_FLAG_EWIF: Early Wakeup Interrupt flag
mbed_official 381:5460fc57b6e4 217 * @retval The new state of WWDG_FLAG (SET or RESET).
mbed_official 381:5460fc57b6e4 218 */
mbed_official 381:5460fc57b6e4 219 #define __HAL_WWDG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__))
mbed_official 381:5460fc57b6e4 220
mbed_official 381:5460fc57b6e4 221 /**
mbed_official 381:5460fc57b6e4 222 * @brief Clear the WWDG's pending flags.
mbed_official 381:5460fc57b6e4 223 * @param __HANDLE__: WWDG handle
mbed_official 381:5460fc57b6e4 224 * @param __FLAG__: specifies the flag to clear.
mbed_official 381:5460fc57b6e4 225 * This parameter can be one of the following values:
mbed_official 381:5460fc57b6e4 226 * @arg WWDG_FLAG_EWIF: Early Wakeup Interrupt flag
mbed_official 381:5460fc57b6e4 227 * @retval None
mbed_official 381:5460fc57b6e4 228 */
mbed_official 381:5460fc57b6e4 229 #define __HAL_WWDG_CLEAR_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR) = ~(__FLAG__))
mbed_official 381:5460fc57b6e4 230
mbed_official 381:5460fc57b6e4 231 /**
mbed_official 381:5460fc57b6e4 232 * @brief Enable the WWDG early wakeup interrupt.
mbed_official 381:5460fc57b6e4 233 * @note Once enabled this interrupt cannot be disabled except by a system reset.
mbed_official 381:5460fc57b6e4 234 * @retval None
mbed_official 381:5460fc57b6e4 235 */
mbed_official 381:5460fc57b6e4 236 #define __HAL_WWDG_ENABLE_IT(__INTERRUPT__) (*(__IO uint32_t *) CFR_BASE |= (__INTERRUPT__))
mbed_official 381:5460fc57b6e4 237
mbed_official 381:5460fc57b6e4 238 /** @brief Clear the WWDG's interrupt pending bits
mbed_official 381:5460fc57b6e4 239 * bits to clear the selected interrupt pending bits.
mbed_official 381:5460fc57b6e4 240 * @param __HANDLE__: WWDG handle
mbed_official 381:5460fc57b6e4 241 * @param __INTERRUPT__: specifies the interrupt pending bit to clear.
mbed_official 381:5460fc57b6e4 242 * This parameter can be one of the following values:
mbed_official 381:5460fc57b6e4 243 * @arg WWDG_FLAG_EWIF: Early wakeup interrupt flag
mbed_official 381:5460fc57b6e4 244 */
mbed_official 381:5460fc57b6e4 245 #define __HAL_WWDG_CLEAR_IT(__HANDLE__, __INTERRUPT__) __HAL_WWDG_CLEAR_FLAG((__HANDLE__), (__INTERRUPT__))
mbed_official 381:5460fc57b6e4 246 /**
mbed_official 381:5460fc57b6e4 247 * @}
mbed_official 381:5460fc57b6e4 248 */
mbed_official 381:5460fc57b6e4 249
mbed_official 381:5460fc57b6e4 250 /* Exported functions --------------------------------------------------------*/
mbed_official 381:5460fc57b6e4 251 /** @addtogroup WWDG_Exported_Functions WWDG Exported Functions
mbed_official 381:5460fc57b6e4 252 * @{
mbed_official 381:5460fc57b6e4 253 */
mbed_official 381:5460fc57b6e4 254
mbed_official 381:5460fc57b6e4 255 /** @addtogroup WWDG_Exported_Functions_Group1 Initialization and de-initialization functions
mbed_official 381:5460fc57b6e4 256 * @brief Initialization and Configuration functions.
mbed_official 381:5460fc57b6e4 257 * @{
mbed_official 381:5460fc57b6e4 258 */
mbed_official 381:5460fc57b6e4 259
mbed_official 381:5460fc57b6e4 260 /* Initialization/de-initialization functions **********************************/
mbed_official 381:5460fc57b6e4 261 HAL_StatusTypeDef HAL_WWDG_Init(WWDG_HandleTypeDef *hwwdg);
mbed_official 381:5460fc57b6e4 262 HAL_StatusTypeDef HAL_WWDG_DeInit(WWDG_HandleTypeDef *hwwdg);
mbed_official 381:5460fc57b6e4 263 void HAL_WWDG_MspInit(WWDG_HandleTypeDef *hwwdg);
mbed_official 381:5460fc57b6e4 264 void HAL_WWDG_MspDeInit(WWDG_HandleTypeDef *hwwdg);
mbed_official 381:5460fc57b6e4 265 void HAL_WWDG_WakeupCallback(WWDG_HandleTypeDef* hwwdg);
mbed_official 381:5460fc57b6e4 266 /**
mbed_official 381:5460fc57b6e4 267 * @}
mbed_official 381:5460fc57b6e4 268 */
mbed_official 381:5460fc57b6e4 269
mbed_official 381:5460fc57b6e4 270 /** @addtogroup WWDG_Exported_Functions_Group2 Input and Output operation functions
mbed_official 381:5460fc57b6e4 271 * @brief I/O operation functions
mbed_official 381:5460fc57b6e4 272 * @{
mbed_official 381:5460fc57b6e4 273 */
mbed_official 381:5460fc57b6e4 274 /* I/O operation functions ******************************************************/
mbed_official 381:5460fc57b6e4 275 HAL_StatusTypeDef HAL_WWDG_Start(WWDG_HandleTypeDef *hwwdg);
mbed_official 381:5460fc57b6e4 276 HAL_StatusTypeDef HAL_WWDG_Start_IT(WWDG_HandleTypeDef *hwwdg);
mbed_official 381:5460fc57b6e4 277 HAL_StatusTypeDef HAL_WWDG_Refresh(WWDG_HandleTypeDef *hwwdg, uint32_t Counter);
mbed_official 381:5460fc57b6e4 278 void HAL_WWDG_IRQHandler(WWDG_HandleTypeDef *hwwdg);
mbed_official 381:5460fc57b6e4 279 /**
mbed_official 381:5460fc57b6e4 280 * @}
mbed_official 381:5460fc57b6e4 281 */
mbed_official 381:5460fc57b6e4 282
mbed_official 381:5460fc57b6e4 283 /** @addtogroup WWDG_Exported_Functions_Group3 Peripheral State functions
mbed_official 381:5460fc57b6e4 284 * @brief Peripheral State functions.
mbed_official 381:5460fc57b6e4 285 * @{
mbed_official 381:5460fc57b6e4 286 */
mbed_official 381:5460fc57b6e4 287 /* Peripheral State functions **************************************************/
mbed_official 381:5460fc57b6e4 288 HAL_WWDG_StateTypeDef HAL_WWDG_GetState(WWDG_HandleTypeDef *hwwdg);
mbed_official 381:5460fc57b6e4 289 /**
mbed_official 381:5460fc57b6e4 290 * @}
mbed_official 381:5460fc57b6e4 291 */
mbed_official 381:5460fc57b6e4 292
mbed_official 381:5460fc57b6e4 293 /**
mbed_official 381:5460fc57b6e4 294 * @}
mbed_official 381:5460fc57b6e4 295 */
mbed_official 381:5460fc57b6e4 296
mbed_official 381:5460fc57b6e4 297 /**
mbed_official 381:5460fc57b6e4 298 * @}
mbed_official 381:5460fc57b6e4 299 */
mbed_official 381:5460fc57b6e4 300
mbed_official 381:5460fc57b6e4 301 /**
mbed_official 381:5460fc57b6e4 302 * @}
mbed_official 381:5460fc57b6e4 303 */
mbed_official 381:5460fc57b6e4 304
mbed_official 381:5460fc57b6e4 305 #ifdef __cplusplus
mbed_official 381:5460fc57b6e4 306 }
mbed_official 381:5460fc57b6e4 307 #endif
mbed_official 381:5460fc57b6e4 308
mbed_official 381:5460fc57b6e4 309 #endif /* __STM32F3xx_HAL_WWDG_H */
mbed_official 381:5460fc57b6e4 310
mbed_official 381:5460fc57b6e4 311 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/