Type Alias atsamd51j::sdhc0::fereis::W

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

Register FEREIS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cmdteo(&mut self) -> CMDTEO_W<'_, FEREIS_SPEC, 0>

Bit 0 - Force Event for Command Timeout Error

source

pub fn cmdcrc(&mut self) -> CMDCRC_W<'_, FEREIS_SPEC, 1>

Bit 1 - Force Event for Command CRC Error

source

pub fn cmdend(&mut self) -> CMDEND_W<'_, FEREIS_SPEC, 2>

Bit 2 - Force Event for Command End Bit Error

source

pub fn cmdidx(&mut self) -> CMDIDX_W<'_, FEREIS_SPEC, 3>

Bit 3 - Force Event for Command Index Error

source

pub fn datteo(&mut self) -> DATTEO_W<'_, FEREIS_SPEC, 4>

Bit 4 - Force Event for Data Timeout Error

source

pub fn datcrc(&mut self) -> DATCRC_W<'_, FEREIS_SPEC, 5>

Bit 5 - Force Event for Data CRC Error

source

pub fn datend(&mut self) -> DATEND_W<'_, FEREIS_SPEC, 6>

Bit 6 - Force Event for Data End Bit Error

source

pub fn curlim(&mut self) -> CURLIM_W<'_, FEREIS_SPEC, 7>

Bit 7 - Force Event for Current Limit Error

source

pub fn acmd(&mut self) -> ACMD_W<'_, FEREIS_SPEC, 8>

Bit 8 - Force Event for Auto CMD Error

source

pub fn adma(&mut self) -> ADMA_W<'_, FEREIS_SPEC, 9>

Bit 9 - Force Event for ADMA Error

source

pub fn bootae(&mut self) -> BOOTAE_W<'_, FEREIS_SPEC, 12>

Bit 12 - Force Event for Boot Acknowledge Error

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual