Type Alias rp2040_pac::timer::dbgpause::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