STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches

IO operation functions. More...

Collaboration diagram for IO operation functions:

Functions

HAL_StatusTypeDef HAL_WWDG_Refresh (WWDG_HandleTypeDef *hwwdg)
 Refresh the WWDG.
 
void HAL_WWDG_IRQHandler (WWDG_HandleTypeDef *hwwdg)
 Handle WWDG interrupt request.
 
void HAL_WWDG_EarlyWakeupCallback (WWDG_HandleTypeDef *hwwdg)
 WWDG Early Wakeup callback.
 

Detailed Description

IO operation functions.

  ==============================================================================
                      ##### IO operation functions #####
  ==============================================================================
  [..]
    This section provides functions allowing to:
    (+) Refresh the WWDG.
    (+) Handle WWDG interrupt request and associated function callback.

Function Documentation

◆ HAL_WWDG_Refresh()

HAL_StatusTypeDef HAL_WWDG_Refresh ( WWDG_HandleTypeDef * hwwdg)

#include <stm32f4xx_hal_wwdg.h>

Refresh the WWDG.

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

Definition at line 343 of file stm32f4xx_hal_wwdg.c.

References WWDG_InitTypeDef::Counter, HAL_OK, WWDG_HandleTypeDef::Init, and WWDG_HandleTypeDef::Instance.

◆ HAL_WWDG_IRQHandler()

void HAL_WWDG_IRQHandler ( WWDG_HandleTypeDef * hwwdg)

#include <stm32f4xx_hal_wwdg.h>

Handle WWDG interrupt request.

Note
The Early Wakeup Interrupt (EWI) can be used if specific safety operations or data logging must be performed before the actual reset is generated. The EWI interrupt is enabled by calling HAL_WWDG_Init function with EWIMode set to WWDG_EWI_ENABLE. When the downcounter reaches the value 0x40, and EWI interrupt is generated and the corresponding Interrupt Service Routine (ISR) can be used to trigger specific actions (such as communications or data logging), before resetting the device.
Parameters
hwwdgpointer to a WWDG_HandleTypeDef structure that contains the configuration information for the specified WWDG module.
Return values
None

Definition at line 366 of file stm32f4xx_hal_wwdg.c.

References __HAL_WWDG_CLEAR_FLAG, __HAL_WWDG_GET_FLAG, __HAL_WWDG_GET_IT_SOURCE, HAL_WWDG_EarlyWakeupCallback(), WWDG_FLAG_EWIF, and WWDG_IT_EWI.

◆ HAL_WWDG_EarlyWakeupCallback()

__weak void HAL_WWDG_EarlyWakeupCallback ( WWDG_HandleTypeDef * hwwdg)

#include <stm32f4xx_hal_wwdg.h>

WWDG Early Wakeup callback.

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

Definition at line 395 of file stm32f4xx_hal_wwdg.c.

References UNUSED.

Referenced by HAL_WWDG_Init(), and HAL_WWDG_IRQHandler().