Type Alias atsamd51j::nvmctrl::dbgctrl::W

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

Register DBGCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn eccdis(&mut self) -> ECCDIS_W<'_, DBGCTRL_SPEC, 0>

Bit 0 - Debugger ECC Read Disable

source

pub fn eccelog(&mut self) -> ECCELOG_W<'_, DBGCTRL_SPEC, 1>

Bit 1 - Debugger ECC Error Tracking Mode

source

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual