Type Alias atsame54n::core_debug::demcr::W

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

Register DEMCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn vc_corereset(&mut self) -> VC_CORERESET_W<'_, DEMCR_SPEC, 0>

Bit 0

source

pub fn vc_mmerr(&mut self) -> VC_MMERR_W<'_, DEMCR_SPEC, 4>

Bit 4

source

pub fn vc_nocperr(&mut self) -> VC_NOCPERR_W<'_, DEMCR_SPEC, 5>

Bit 5

source

pub fn vc_chkerr(&mut self) -> VC_CHKERR_W<'_, DEMCR_SPEC, 6>

Bit 6

source

pub fn vc_staterr(&mut self) -> VC_STATERR_W<'_, DEMCR_SPEC, 7>

Bit 7

source

pub fn vc_buserr(&mut self) -> VC_BUSERR_W<'_, DEMCR_SPEC, 8>

Bit 8

source

pub fn vc_interr(&mut self) -> VC_INTERR_W<'_, DEMCR_SPEC, 9>

Bit 9

source

pub fn vc_harderr(&mut self) -> VC_HARDERR_W<'_, DEMCR_SPEC, 10>

Bit 10

source

pub fn mon_en(&mut self) -> MON_EN_W<'_, DEMCR_SPEC, 16>

Bit 16

source

pub fn mon_pend(&mut self) -> MON_PEND_W<'_, DEMCR_SPEC, 17>

Bit 17

source

pub fn mon_step(&mut self) -> MON_STEP_W<'_, DEMCR_SPEC, 18>

Bit 18

source

pub fn mon_req(&mut self) -> MON_REQ_W<'_, DEMCR_SPEC, 19>

Bit 19

source

pub fn trcena(&mut self) -> TRCENA_W<'_, DEMCR_SPEC, 24>

Bit 24

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