Prusa MINI Firmware overview
IWDG Exported Macros
Collaboration diagram for IWDG Exported Macros:

Macros

#define __HAL_IWDG_START(__HANDLE__)   WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_ENABLE)
 Enable the IWDG peripheral. More...
 
#define __HAL_IWDG_RELOAD_COUNTER(__HANDLE__)   WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_RELOAD)
 Reload IWDG counter with value defined in the reload register (write access to IWDG_PR & IWDG_RLR registers disabled). More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_IWDG_START

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

Enable the IWDG peripheral.

Parameters
<strong>HANDLE</strong>IWDG handle
Return values
None

◆ __HAL_IWDG_RELOAD_COUNTER

#define __HAL_IWDG_RELOAD_COUNTER (   __HANDLE__)    WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_RELOAD)

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

Parameters
<strong>HANDLE</strong>IWDG handle
Return values
None