Type Alias nrf52840_pac::wdt::config::HALT_W

source ·
pub type HALT_W<'a, const O: u8> = BitWriter<'a, u32, CONFIG_SPEC, HALT_A, O>;
Expand description

Field HALT writer - Configure the watchdog to either be paused, or kept running, while the CPU is halted by the debugger

Aliased Type§

struct HALT_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> HALT_W<'a, O>

source

pub fn pause(self) -> &'a mut W

Pause watchdog while the CPU is halted by the debugger

source

pub fn run(self) -> &'a mut W

Keep the watchdog running while the CPU is halted by the debugger