27.6.2.1 Struct wdt_conf
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.
Type | Name | Description |
---|---|---|
bool | always_on |
If true, the Watchdog will be locked to the current configuration settings when the Watchdog is enabled. |
enum gclk_generator | clock_source |
GCLK generator used to clock the peripheral except SAM L21/L22/C21/C20. |
enum wdt_period | early_warning_period |
Number of Watchdog timer clock ticks until the early warning flag is set. |
bool | enable |
Enable/Disable the Watchdog Timer. |
enum wdt_period | timeout_period |
Number of Watchdog timer clock ticks until the Watchdog expires. |
enum wdt_period | window_period |
Number of Watchdog timer clock ticks until the reset window opens. |