HAL WWDG Overview ¶
Introducing WWDG ¶
- group WWDG_Introduction
-
-
This introduction is under development.
-
Module and files ¶
The following diagram illustrates the WWDG module and its associated files.
Component diagram ¶
The following diagram illustrates the software components involved in the WWDG module. It shows the interactions between the user application, HAL drivers, low-level drivers, and the hardware components.
Configuration table ¶
The following table lists the configuration defines for the HAL WWDG module, specifying their locations, default values, and descriptions:
- group WWDG_Configuration_Table
-
¶
Configuration inside the WWDG driver: ¶
Config defines
Where
Default value
Note
USE_HAL_WWDG_MODULE
hal_conf.h
1
Enable the HAL WWDG module.
USE_HAL_WWDG_REGISTER_CALLBACKS
hal_conf.h
0
Enable the register callbacks assert
USE_HAL_CHECK_PARAM
hal_conf.h
0
Enable checking of vital parameters at runtime
USE_HAL_WWDG_HARDWARE_START
hal_conf.h
0
WWDG driver starts in HW mode
USE_HAL_WWDG_CLK_ENABLE_MODEL
hal_conf.h
HAL_CLK_ENABLE_NO
Clock activation
USE_HAL_WWDG_TIME_UNIT (*)
hal_conf.h
HAL_WWDG_TIME_UNIT_MS
Time unit to be used for WWDG driver
USE_HAL_WWDG_USER_DATA
hal_conf.h
0
Enable the set/get user data
USE_ASSERT_DBG_PARAM
PreProcessor env
None
Enable the params assert
USE_ASSERT_DBG_STATE
PreProcessor env
None
Enable the state assert
(*) User can choose the value of the time Unit with the USE_HAL_WWDG_TIME_UNIT define:
-
HAL_WWDG_TIME_UNIT_US: WWDG driver time unit in microseconds.
-
HAL_WWDG_TIME_UNIT_MS: WWDG driver time unit in milliseconds.
-
HAL_WWDG_TIME_UNIT_S: WWDG driver time unit in seconds.
The default time unit is milliseconds if not set by the user.
-