STM32F4xx_HAL_Driver  1.8.3
Initialization and Configuration functions

Initialization and Configuration functions. More...

+ Collaboration diagram for Initialization and Configuration functions:

Functions

HAL_StatusTypeDef HAL_WWDG_Init (WWDG_HandleTypeDef *hwwdg)
 Initialize the WWDG according to the specified. parameters in the WWDG_InitTypeDef of associated handle. More...
 
void HAL_WWDG_MspInit (WWDG_HandleTypeDef *hwwdg)
 Initialize the WWDG MSP. More...
 
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. More...
 
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. More...
 

Detailed Description

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.

Function Documentation

◆ HAL_WWDG_Init()

HAL_StatusTypeDef HAL_WWDG_Init ( WWDG_HandleTypeDef hwwdg)

Initialize the WWDG according to the specified. parameters in the WWDG_InitTypeDef of associated handle.

Parameters
hwwdgpointer to a WWDG_HandleTypeDef structure that contains the configuration information for the specified WWDG module.
Return values
HALstatus

Definition at line 176 of file stm32f4xx_hal_wwdg.c.

◆ HAL_WWDG_MspInit()

__weak void HAL_WWDG_MspInit ( WWDG_HandleTypeDef hwwdg)

Initialize the WWDG MSP.

Parameters
hwwdgpointer to a WWDG_HandleTypeDef structure that contains the configuration information for the specified WWDG module.
Note
When rewriting this function in user file, mechanism may be added to avoid multiple initialize when HAL_WWDG_Init function is called again to change parameters.
Return values
None

Definition at line 230 of file stm32f4xx_hal_wwdg.c.

◆ HAL_WWDG_RegisterCallback()

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.

Parameters
hwwdgWWDG handle
CallbackIDID of the callback to be registered This parameter can be one of the following values:
pCallbackpointer to the Callback function
Return values
status

Definition at line 253 of file stm32f4xx_hal_wwdg.c.

◆ HAL_WWDG_UnRegisterCallback()

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.

Parameters
hwwdgWWDG handle
CallbackIDID of the callback to be registered This parameter can be one of the following values:
Return values
status

Definition at line 294 of file stm32f4xx_hal_wwdg.c.