Type Alias atsame54n::ramecc::intflag::W

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

Register INTFLAG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn singlee(&mut self) -> SINGLEE_W<'_, INTFLAG_SPEC, 0>

Bit 0 - Single Bit ECC Error Interrupt

source

pub fn duale(&mut self) -> DUALE_W<'_, INTFLAG_SPEC, 1>

Bit 1 - Dual Bit ECC Error Interrupt

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