Type Alias rp2040_pac::watchdog::ctrl::W

source ·
pub type W = W<CTRL_SPEC>;
Expand description

Register CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pause_jtag(&mut self) -> PAUSE_JTAG_W<'_, CTRL_SPEC>

Bit 24 - Pause the watchdog timer when JTAG is accessing the bus fabric

source

pub fn pause_dbg0(&mut self) -> PAUSE_DBG0_W<'_, CTRL_SPEC>

Bit 25 - Pause the watchdog timer when processor 0 is in debug mode

source

pub fn pause_dbg1(&mut self) -> PAUSE_DBG1_W<'_, CTRL_SPEC>

Bit 26 - Pause the watchdog timer when processor 1 is in debug mode

source

pub fn enable(&mut self) -> ENABLE_W<'_, CTRL_SPEC>

Bit 30 - When not enabled the watchdog timer is paused

source

pub fn trigger(&mut self) -> TRIGGER_W<'_, CTRL_SPEC>

Bit 31 - Trigger a watchdog reset

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual