Type Alias rp2040_pac::watchdog::ctrl::R

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

Register CTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn time(&self) -> TIME_R

Bits 0:23 - Indicates the number of ticks / 2 (see errata RP2040-E1) before a watchdog reset will be triggered

source

pub fn pause_jtag(&self) -> PAUSE_JTAG_R

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

source

pub fn pause_dbg0(&self) -> PAUSE_DBG0_R

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

source

pub fn pause_dbg1(&self) -> PAUSE_DBG1_R

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

source

pub fn enable(&self) -> ENABLE_R

Bit 30 - When not enabled the watchdog timer is paused

source

pub fn trigger(&self) -> TRIGGER_R

Bit 31 - Trigger a watchdog reset