STM32F103xB HAL User Manual
|
Header file of WWDG HAL module. More...
#include "stm32f1xx_hal_def.h"
Go to the source code of this file.
Data Structures | |
struct | WWDG_InitTypeDef |
WWDG Init structure definition. More... | |
struct | __WWDG_HandleTypeDef |
WWDG handle Structure definition. More... | |
Defines | |
#define | WWDG_IT_EWI WWDG_CFR_EWI |
#define | WWDG_FLAG_EWIF WWDG_SR_EWIF |
#define | WWDG_PRESCALER_1 0x00000000u |
#define | WWDG_PRESCALER_2 WWDG_CFR_WDGTB_0 |
#define | WWDG_PRESCALER_4 WWDG_CFR_WDGTB_1 |
#define | WWDG_PRESCALER_8 (WWDG_CFR_WDGTB_1 | WWDG_CFR_WDGTB_0) |
#define | WWDG_EWI_DISABLE 0x00000000u |
#define | WWDG_EWI_ENABLE WWDG_CFR_EWI |
#define | IS_WWDG_PRESCALER(__PRESCALER__) |
#define | IS_WWDG_WINDOW(__WINDOW__) (((__WINDOW__) >= WWDG_CFR_W_6) && ((__WINDOW__) <= WWDG_CFR_W)) |
#define | IS_WWDG_COUNTER(__COUNTER__) (((__COUNTER__) >= WWDG_CR_T_6) && ((__COUNTER__) <= WWDG_CR_T)) |
#define | IS_WWDG_EWI_MODE(__MODE__) |
#define | __HAL_WWDG_ENABLE(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CR, WWDG_CR_WDGA) |
Enable the WWDG peripheral. | |
#define | __HAL_WWDG_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BIT((__HANDLE__)->Instance->CFR, (__INTERRUPT__)) |
Enable the WWDG early wakeup interrupt. | |
#define | __HAL_WWDG_GET_IT(__HANDLE__, __INTERRUPT__) __HAL_WWDG_GET_FLAG((__HANDLE__),(__INTERRUPT__)) |
Check whether the selected WWDG interrupt has occurred or not. | |
#define | __HAL_WWDG_CLEAR_IT(__HANDLE__, __INTERRUPT__) __HAL_WWDG_CLEAR_FLAG((__HANDLE__), (__INTERRUPT__)) |
Clear the WWDG interrupt pending bits. | |
#define | __HAL_WWDG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified WWDG flag is set or not. | |
#define | __HAL_WWDG_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG__)) |
Clear the WWDG's pending flags. | |
#define | __HAL_WWDG_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check whether the specified WWDG interrupt source is enabled or not. | |
Typedefs | |
typedef struct __WWDG_HandleTypeDef | WWDG_HandleTypeDef |
WWDG handle Structure definition. | |
typedef void(* | pWWDG_CallbackTypeDef )(WWDG_HandleTypeDef *hppp) |
HAL WWDG Callback pointer definition. | |
Enumerations | |
enum | HAL_WWDG_CallbackIDTypeDef { HAL_WWDG_EWI_CB_ID = 0x00U, HAL_WWDG_MSPINIT_CB_ID = 0x01U } |
HAL WWDG common Callback ID enumeration definition. More... | |
Functions | |
HAL_StatusTypeDef | HAL_WWDG_Init (WWDG_HandleTypeDef *hwwdg) |
Initialize the WWDG according to the specified. | |
__weak void | HAL_WWDG_MspInit (WWDG_HandleTypeDef *hwwdg) |
Initialize the WWDG MSP. | |
HAL_StatusTypeDef | HAL_WWDG_RegisterCallback (WWDG_HandleTypeDef *hwwdg, HAL_WWDG_CallbackIDTypeDef CallbackID, pWWDG_CallbackTypeDef pCallback) |
Register a User WWDG Callback To be used instead of the weak (surcharged) predefined callback. | |
HAL_StatusTypeDef | HAL_WWDG_UnRegisterCallback (WWDG_HandleTypeDef *hwwdg, HAL_WWDG_CallbackIDTypeDef CallbackID) |
Unregister a WWDG Callback WWDG Callback is redirected to the weak (surcharged) predefined callback. | |
HAL_StatusTypeDef | HAL_WWDG_Refresh (WWDG_HandleTypeDef *hwwdg) |
Refresh the WWDG. | |
void | HAL_WWDG_IRQHandler (WWDG_HandleTypeDef *hwwdg) |
Handle WWDG interrupt request. | |
__weak void | HAL_WWDG_EarlyWakeupCallback (WWDG_HandleTypeDef *hwwdg) |
WWDG Early Wakeup callback. |
Header file of WWDG HAL module.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32f1xx_hal_wwdg.h.