mbed library sources

Dependents:   Marvino mbot

Fork of mbed-src by mbed official

Committer:
jaerts
Date:
Tue Dec 22 13:22:16 2015 +0000
Revision:
637:ed69428d4850
Parent:
610:813dcc80987e
Add very shady LPC1768 CAN Filter implementation

Who changed what in which revision?

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