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:
Thu Jul 02 16:30:08 2015 +0100
Revision:
581:39197bcd20f2
Parent:
489:119543c9f674
Synchronized with git revision ae2d3cdffe70184eb8736d94f76c45c93f4b7724

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

Make it possible to build the core mbed library with yotta

Who changed what in which revision?

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