STM32H735xx HAL User Manual
|
Initialization and Configuration functions. 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. |
Initialization and Configuration functions.
============================================================================== ##### Initialization and Configuration functions ##### ============================================================================== [..] This section provides functions allowing to: (+) Initialize and start the WWDG according to the specified parameters in the WWDG_InitTypeDef of associated handle. (+) Initialize the WWDG MSP.
HAL_StatusTypeDef HAL_WWDG_Init | ( | WWDG_HandleTypeDef * | hwwdg | ) |
Initialize the WWDG according to the specified.
parameters in the WWDG_InitTypeDef of associated handle.
hwwdg | pointer to a WWDG_HandleTypeDef structure that contains the configuration information for the specified WWDG module. |
HAL | status |
Definition at line 185 of file stm32h7xx_hal_wwdg.c.
References assert_param, WWDG_InitTypeDef::Counter, __WWDG_HandleTypeDef::EwiCallback, WWDG_InitTypeDef::EWIMode, HAL_WWDG_EarlyWakeupCallback(), HAL_WWDG_MspInit(), __WWDG_HandleTypeDef::Init, __WWDG_HandleTypeDef::Instance, IS_WWDG_COUNTER, IS_WWDG_EWI_MODE, IS_WWDG_PRESCALER, IS_WWDG_WINDOW, __WWDG_HandleTypeDef::MspInitCallback, WWDG_InitTypeDef::Prescaler, and WWDG_InitTypeDef::Window.
void HAL_WWDG_MspInit | ( | WWDG_HandleTypeDef * | hwwdg | ) |
Initialize the WWDG MSP.
hwwdg | pointer to a WWDG_HandleTypeDef structure that contains the configuration information for the specified WWDG module. |
None |
Definition at line 239 of file stm32h7xx_hal_wwdg.c.
Referenced by HAL_WWDG_Init(), and HAL_WWDG_UnRegisterCallback().
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.
hwwdg | WWDG handle |
CallbackID | ID of the callback to be registered This parameter can be one of the following values:
|
pCallback | pointer to the Callback function |
status |
Definition at line 262 of file stm32h7xx_hal_wwdg.c.
References __WWDG_HandleTypeDef::EwiCallback, HAL_WWDG_EWI_CB_ID, HAL_WWDG_MSPINIT_CB_ID, and __WWDG_HandleTypeDef::MspInitCallback.
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.
hwwdg | WWDG handle |
CallbackID | ID of the callback to be registered This parameter can be one of the following values:
|
status |
Definition at line 303 of file stm32h7xx_hal_wwdg.c.
References __WWDG_HandleTypeDef::EwiCallback, HAL_WWDG_EarlyWakeupCallback(), HAL_WWDG_EWI_CB_ID, HAL_WWDG_MspInit(), HAL_WWDG_MSPINIT_CB_ID, and __WWDG_HandleTypeDef::MspInitCallback.