Go to the source code of this file.
|
#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__) (((__MODE__) == WWDG_EWI_ENABLE) || ((__MODE__) == WWDG_EWI_DISABLE)) |
|
#define | __HAL_WWDG_ENABLE(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CR, WWDG_CR_WDGA) |
|
#define | __HAL_WWDG_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BIT((__HANDLE__)->Instance->CFR, (__INTERRUPT__)) |
|
#define | __HAL_WWDG_GET_IT(__HANDLE__, __INTERRUPT__) __HAL_WWDG_GET_FLAG((__HANDLE__), (__INTERRUPT__)) |
|
#define | __HAL_WWDG_CLEAR_IT(__HANDLE__, __INTERRUPT__) __HAL_WWDG_CLEAR_FLAG((__HANDLE__), (__INTERRUPT__)) |
|
#define | __HAL_WWDG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__)) |
|
#define | __HAL_WWDG_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG__)) |
|
#define | __HAL_WWDG_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CFR & (__INTERRUPT__)) == (__INTERRUPT__)) |
|
◆ WWDG_IT_EWI
#define WWDG_IT_EWI WWDG_CFR_EWI |
◆ WWDG_FLAG_EWIF
#define WWDG_FLAG_EWIF WWDG_SR_EWIF |
◆ WWDG_PRESCALER_1
#define WWDG_PRESCALER_1 0x00000000u |
◆ WWDG_PRESCALER_2
#define WWDG_PRESCALER_2 WWDG_CFR_WDGTB_0 |
◆ WWDG_PRESCALER_4
#define WWDG_PRESCALER_4 WWDG_CFR_WDGTB_1 |
◆ WWDG_PRESCALER_8
#define WWDG_PRESCALER_8 (WWDG_CFR_WDGTB_1 | WWDG_CFR_WDGTB_0) |
◆ WWDG_EWI_DISABLE
#define WWDG_EWI_DISABLE 0x00000000u |
◆ WWDG_EWI_ENABLE
#define WWDG_EWI_ENABLE WWDG_CFR_EWI |
◆ IS_WWDG_PRESCALER
#define IS_WWDG_PRESCALER |
( |
|
__PRESCALER__ | ) |
|
Value:
#define WWDG_PRESCALER_4
Definition sthal_wwdg.h:37
#define WWDG_PRESCALER_2
Definition sthal_wwdg.h:36
#define WWDG_PRESCALER_8
Definition sthal_wwdg.h:38
#define WWDG_PRESCALER_1
Definition sthal_wwdg.h:35
◆ IS_WWDG_WINDOW
#define IS_WWDG_WINDOW |
( |
|
__WINDOW__ | ) |
(((__WINDOW__) >= WWDG_CFR_W_6) && ((__WINDOW__) <= WWDG_CFR_W)) |
◆ IS_WWDG_COUNTER
#define IS_WWDG_COUNTER |
( |
|
__COUNTER__ | ) |
(((__COUNTER__) >= WWDG_CR_T_6) && ((__COUNTER__) <= WWDG_CR_T)) |
◆ IS_WWDG_EWI_MODE
◆ __HAL_WWDG_ENABLE
#define __HAL_WWDG_ENABLE |
( |
|
__HANDLE__ | ) |
SET_BIT((__HANDLE__)->Instance->CR, WWDG_CR_WDGA) |
◆ __HAL_WWDG_ENABLE_IT
#define __HAL_WWDG_ENABLE_IT |
( |
|
__HANDLE__, |
|
|
|
__INTERRUPT__ |
|
) |
| SET_BIT((__HANDLE__)->Instance->CFR, (__INTERRUPT__)) |
◆ __HAL_WWDG_GET_IT
#define __HAL_WWDG_GET_IT |
( |
|
__HANDLE__, |
|
|
|
__INTERRUPT__ |
|
) |
| __HAL_WWDG_GET_FLAG((__HANDLE__), (__INTERRUPT__)) |
◆ __HAL_WWDG_CLEAR_IT
#define __HAL_WWDG_CLEAR_IT |
( |
|
__HANDLE__, |
|
|
|
__INTERRUPT__ |
|
) |
| __HAL_WWDG_CLEAR_FLAG((__HANDLE__), (__INTERRUPT__)) |
◆ __HAL_WWDG_GET_FLAG
#define __HAL_WWDG_GET_FLAG |
( |
|
__HANDLE__, |
|
|
|
__FLAG__ |
|
) |
| (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__)) |
◆ __HAL_WWDG_CLEAR_FLAG
#define __HAL_WWDG_CLEAR_FLAG |
( |
|
__HANDLE__, |
|
|
|
__FLAG__ |
|
) |
| ((__HANDLE__)->Instance->SR = ~(__FLAG__)) |
◆ __HAL_WWDG_GET_IT_SOURCE
#define __HAL_WWDG_GET_IT_SOURCE |
( |
|
__HANDLE__, |
|
|
|
__INTERRUPT__ |
|
) |
| (((__HANDLE__)->Instance->CFR & (__INTERRUPT__)) == (__INTERRUPT__)) |
◆ WWDG_TypeDef
◆ HAL_WWDG_Init()
◆ HAL_WWDG_MspInit()
◆ HAL_WWDG_Refresh()
◆ HAL_WWDG_IRQHandler()
◆ HAL_WWDG_EarlyWakeupCallback()