Type Alias atsamd51p::core_debug::dcrsr::W

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

Register DCRSR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn regsel(&mut self) -> REGSEL_W<'_, DCRSR_SPEC, 0>

Bits 0:4

source

pub fn regwn_r(&mut self) -> REGWN_R_W<'_, DCRSR_SPEC, 16>

Bit 16

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