Lines Matching full:wdt
10 * @brief Watchdog (WDT) Driver for Atmel SAM MCUs
15 * - Since the MCU boots with WDT enabled, the CONFIG_WDT_DISABLE_AT_BOOT
35 Wdt *regs;
51 Wdt * const wdt = config->regs; in wdt_sam_isr() local
55 wdt_sr = wdt->WDT_SR; in wdt_sam_isr()
87 Wdt * const wdt = config->regs; in wdt_sam_disable() local
102 wdt->WDT_MR |= WDT_MR_WDDIS; in wdt_sam_disable()
112 Wdt * const wdt = config->regs; in wdt_sam_setup() local
136 wdt->WDT_MR = data->mode; in wdt_sam_setup()
174 wdt_mode = WDT_MR_WDRSTEN; /* WDT reset enable */ in wdt_sam_install_timeout()
180 wdt_mode = WDT_MR_WDFIEN; /* WDT fault interrupt. */ in wdt_sam_install_timeout()
193 wdt_mode = WDT_MR_WDRSTEN | /* WDT reset enable */ in wdt_sam_install_timeout()
194 WDT_MR_WDRPROC; /* WDT reset processor only*/ in wdt_sam_install_timeout()
220 Wdt * const wdt = config->regs; in wdt_sam_feed() local
222 wdt->WDT_CR |= WDT_CR_KEY_PASSWD | WDT_CR_WDRSTT; in wdt_sam_feed()
227 static DEVICE_API(wdt, wdt_sam_api) = {
235 .regs = (Wdt *)DT_INST_REG_ADDR(0),