rp2040_pac::timer::dbgpause

Type Alias W

Source
pub type W = W<DBGPAUSE_SPEC>;
Expand description

Register DBGPAUSE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn dbg0(&mut self) -> DBG0_W<'_, DBGPAUSE_SPEC>

Bit 1 - Pause when processor 0 is in debug mode

Source

pub fn dbg1(&mut self) -> DBG1_W<'_, DBGPAUSE_SPEC>

Bit 2 - Pause when processor 1 is in debug mode

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