Type Alias atsame54p::core_debug::dhcsr::W

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

Register DHCSR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn c_debugen(&mut self) -> C_DEBUGEN_W<'_, DHCSR_SPEC, 0>

Bit 0

source

pub fn c_halt(&mut self) -> C_HALT_W<'_, DHCSR_SPEC, 1>

Bit 1

source

pub fn c_step(&mut self) -> C_STEP_W<'_, DHCSR_SPEC, 2>

Bit 2

source

pub fn c_maskints(&mut self) -> C_MASKINTS_W<'_, DHCSR_SPEC, 3>

Bit 3

source

pub fn c_snapstall(&mut self) -> C_SNAPSTALL_W<'_, DHCSR_SPEC, 5>

Bit 5

source

pub fn dbgkey(&mut self) -> DBGKEY_W<'_, DHCSR_SPEC, 16>

Bits 16:31

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