Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Function

Description

Comments

HAL_StatusTypeDef HAL_IWDG_Init(IWDG_HandleTypeDef * hiwdg )

Initialize the WDT according to the parameters specified by hiwdg and start the WDT

hiwdg is a WDT handle; returns one of {HAL_OK, HAL_ERROR, HAL_BUSY, HAL_TIMEOUT}

HAL_StatusTypeDef HAL_IWDG_Refresh (IWDG_HandleTypeDef *hiwdg)

Refresh the WDT

Returns one of {HAL_OK, HAL_ERROR, HAL_BUSY, HAL_TIMEOUT}

The IWDG_HandleTypeDef data structure used in the HAL_IWDG_Init interface has the following definition:

Code Block
typedef struct
{
  IWDG_TypeDef *   Instance;  /* Register base address    */
  IWDG_InitTypeDef Init;      /* IWDG required parameters */
} IWDG_HandleTypeDef;

The IWDG_InitTypeDef data structure used in IWDG_HandleTypeDef has the following definition:

...