Watchdog Timer configuration structure.
Configuration structure for a Watchdog Timer instance. This structure should be initialized by the wdt_get_config_defaults() function before being modified by the user application.
#include <wdt.h>
Data Fields | |
bool | always_on |
If true , the Watchdog will be locked to the current configuration settings when the Watchdog is enabled. More... | |
enum gclk_generator | clock_source |
GCLK generator used to clock the peripheral except SAM L21/L22/C21/C20/R30. More... | |
enum wdt_period | early_warning_period |
Number of Watchdog timer clock ticks until the early warning flag is set. More... | |
bool | enable |
Enable/Disable the Watchdog Timer. More... | |
enum wdt_period | timeout_period |
Number of Watchdog timer clock ticks until the Watchdog expires. More... | |
enum wdt_period | window_period |
Number of Watchdog timer clock ticks until the reset window opens. More... | |
bool wdt_conf::always_on |
If true
, the Watchdog will be locked to the current configuration settings when the Watchdog is enabled.
Referenced by configure_wdt(), wdt_get_config_defaults(), and wdt_set_config().
enum gclk_generator wdt_conf::clock_source |
GCLK generator used to clock the peripheral except SAM L21/L22/C21/C20/R30.
Referenced by configure_wdt(), main(), wdt_get_config_defaults(), and wdt_set_config().
enum wdt_period wdt_conf::early_warning_period |
Number of Watchdog timer clock ticks until the early warning flag is set.
Referenced by configure_wdt(), main(), wdt_get_config_defaults(), and wdt_set_config().
bool wdt_conf::enable |
Enable/Disable the Watchdog Timer.
Referenced by main(), wdt_get_config_defaults(), and wdt_set_config().
enum wdt_period wdt_conf::timeout_period |
Number of Watchdog timer clock ticks until the Watchdog expires.
Referenced by configure_wdt(), main(), wdt_get_config_defaults(), and wdt_set_config().
enum wdt_period wdt_conf::window_period |
Number of Watchdog timer clock ticks until the reset window opens.
Referenced by wdt_get_config_defaults(), and wdt_set_config().