HAL IWDG Types

HAL IWDG Types

group IWDG_Exported_Types

Typedefs

typedef struct hal_iwdg_handle_s hal_iwdg_handle_t

IWDG handle type definition

typedef void ( * hal_iwdg_cb_t ) ( hal_iwdg_handle_t * hiwdg )

Pointer to an IWDG common callback function

Enums

enum hal_iwdg_t

HAL IWDG instances enumeration definition

Values:

enumerator HAL_IWDG1

IWDG1 instance

enum hal_iwdg_state_t

HAL IWDG state enumeration definition

Values:

enumerator HAL_IWDG_STATE_RESET

IWDG driver not initialized and not started

enumerator HAL_IWDG_STATE_ACTIVE

IWDG driver initialized and started

struct hal_iwdg_handle_s
#include <stm32c5xx_hal_iwdg.h>

HAL IWDG handle structure definition

Public Members

hal_iwdg_t instance

IWDG peripheral instance

uint32_t reload

IWDG reload value

volatile hal_iwdg_state_t global_state

IWDG state

hal_iwdg_cb_t p_early_wakeup_cb

IWDG Early WakeUp Interrupt callback

const void * p_user_data

IWDG user data