Watchdog Timer configuration structure.
Configuration structure for a Watchdog Timer instance. This structure could be initialized by the wdt_get_config_defaults() function before being modified by the user application.
#include <wdt_sam4l.h>
Data Fields | |
bool | always_on |
If set, the watchdog will be enabled and locked to the current configuration (SFV bit). More... | |
uint32_t | clk_src |
Clock source select. More... | |
bool | disable_flash_cali |
Disable flash calibration redone after a watchdog reset. More... | |
bool | disable_wdt_after_reset |
Disable the watchdog after a watchdog reset. More... | |
enum wdt_period | timeout_period |
Number of CLK_CNT until the WDT expires. More... | |
uint32_t | wdt_int |
WDT interrupt mode. More... | |
uint32_t | wdt_mode |
WDT mode. More... | |
enum wdt_period | window_period |
Number of CLK_CNT until the reset window opens. More... | |
bool wdt_config::always_on |
If set, the watchdog will be enabled and locked to the current configuration (SFV bit).
Referenced by wdt_enable(), and wdt_get_config_defaults().
uint32_t wdt_config::clk_src |
Clock source select.
Referenced by run_wdt_test_all(), wdt_get_config_defaults(), and wdt_init().
bool wdt_config::disable_flash_cali |
Disable flash calibration redone after a watchdog reset.
Referenced by wdt_get_config_defaults(), and wdt_init().
bool wdt_config::disable_wdt_after_reset |
Disable the watchdog after a watchdog reset.
Referenced by wdt_get_config_defaults(), wdt_init(), and wdt_reset_mcu().
enum wdt_period wdt_config::timeout_period |
Number of CLK_CNT until the WDT expires.
Referenced by run_wdt_test_all(), wdt_get_config_defaults(), wdt_init(), and wdt_reset_mcu().
uint32_t wdt_config::wdt_int |
WDT interrupt mode.
Referenced by wdt_get_config_defaults(), and wdt_init().
uint32_t wdt_config::wdt_mode |
WDT mode.
Referenced by run_wdt_test_all(), wdt_get_config_defaults(), and wdt_init().
enum wdt_period wdt_config::window_period |
Number of CLK_CNT until the reset window opens.
Referenced by run_wdt_test_all(), wdt_get_config_defaults(), and wdt_init().