[−][src]Type Definition ambiq_apollo1_pac::wdt::cfg::W
type W = W<u32, CFG>;
Writer for register CFG
Methods
impl W
[src]
pub fn intval(&mut self) -> INTVAL_W
[src]
Bits 16:23 - This bitfield is the compare value for counter bits 7:0 to generate a watchdog interrupt.
pub fn resval(&mut self) -> RESVAL_W
[src]
Bits 8:15 - This bitfield is the compare value for counter bits 7:0 to generate a watchdog reset.
pub fn resen(&mut self) -> RESEN_W
[src]
Bit 2 - This bitfield enables the WDT reset.
pub fn inten(&mut self) -> INTEN_W
[src]
Bit 1 - This bitfield enables the WDT interrupt. Note : This bit must be set before the interrupt status bit will reflect a watchdog timer expiration. The IER interrupt register must also be enabled for a WDT interrupt to be sent to the NVIC.
pub fn wdten(&mut self) -> WDTEN_W
[src]
Bit 0 - This bitfield enables the WDT.