STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
IWDG Exported Macros
Collaboration diagram for IWDG Exported Macros:

Macros

#define __HAL_IWDG_START(__HANDLE__)
 Enable the IWDG peripheral.
 
#define __HAL_IWDG_RELOAD_COUNTER(__HANDLE__)
 Reload IWDG counter with value defined in the reload register (write access to IWDG_PR and IWDG_RLR registers disabled).
 

Detailed Description

Macro Definition Documentation

◆ __HAL_IWDG_START

#define __HAL_IWDG_START ( __HANDLE__)

#include <stm32f4xx_hal_iwdg.h>

Value:
WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_ENABLE)
#define IWDG_KEY_ENABLE

Enable the IWDG peripheral.

Parameters
__HANDLE__IWDG handle
Return values
None

Definition at line 104 of file stm32f4xx_hal_iwdg.h.

Referenced by HAL_IWDG_Init().

◆ __HAL_IWDG_RELOAD_COUNTER

#define __HAL_IWDG_RELOAD_COUNTER ( __HANDLE__)

#include <stm32f4xx_hal_iwdg.h>

Value:
WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_RELOAD)
#define IWDG_KEY_RELOAD
IWDG Key Register BitMask.

Reload IWDG counter with value defined in the reload register (write access to IWDG_PR and IWDG_RLR registers disabled).

Parameters
__HANDLE__IWDG handle
Return values
None

Definition at line 112 of file stm32f4xx_hal_iwdg.h.

Referenced by HAL_IWDG_Init(), and HAL_IWDG_Refresh().