Lines Matching refs:bit
32 #define WDT_SYNCBUSY WDT_REGS->STATUS.bit.SYNCBUSY
54 WDT_REGS->CTRLA.bit.ENABLE = on; in wdt_sam0_set_enable()
56 WDT_REGS->CTRL.bit.ENABLE = on; in wdt_sam0_set_enable()
63 return WDT_REGS->CTRLA.bit.ENABLE; in wdt_sam0_is_enabled()
65 return WDT_REGS->CTRL.bit.ENABLE; in wdt_sam0_is_enabled()
181 WDT_REGS->CTRLA.bit.WEN = 1; in wdt_sam0_install_timeout()
183 WDT_REGS->CTRL.bit.WEN = 1; in wdt_sam0_install_timeout()
193 WDT_REGS->EWCTRL.bit.EWOFFSET = per - 1U; in wdt_sam0_install_timeout()
197 WDT_REGS->CTRLA.bit.WEN = 0; in wdt_sam0_install_timeout()
199 WDT_REGS->CTRL.bit.WEN = 0; in wdt_sam0_install_timeout()
260 MCLK->APBAMASK.bit.WDT_ = 1; in wdt_sam0_init()
264 PM->APBAMASK.bit.WDT_ = 1; in wdt_sam0_init()