Type Alias atsame54n::ramecc::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 - ECC Disable

source

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

Bit 1 - ECC Error Log

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