TUKS MCU Introductory course / TUKS-COURSE-2-LED
Embed: (wiki syntax)

« Back to documentation index

IO operation functions

IO operation functions
[WWDG Exported Functions]

IO operation functions. More...

Functions

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.

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

__weak void HAL_WWDG_EarlyWakeupCallback ( WWDG_HandleTypeDef *  hwwdg )

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 295 of file stm32l4xx_hal_wwdg.c.

void HAL_WWDG_IRQHandler ( WWDG_HandleTypeDef *  hwwdg )

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 271 of file stm32l4xx_hal_wwdg.c.

HAL_StatusTypeDef HAL_WWDG_Refresh ( WWDG_HandleTypeDef *  hwwdg )

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 248 of file stm32l4xx_hal_wwdg.c.