Type Alias atsame54n::sdhc0::eister_emmc_mode::W

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

Register EISTER_EMMC_MODE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bit 0 - Command Timeout Error Status Enable

source

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

Bit 1 - Command CRC Error Status Enable

source

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

Bit 2 - Command End Bit Error Status Enable

source

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

Bit 3 - Command Index Error Status Enable

source

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

Bit 4 - Data Timeout Error Status Enable

source

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

Bit 5 - Data CRC Error Status Enable

source

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

Bit 6 - Data End Bit Error Status Enable

source

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

Bit 7 - Current Limit Error Status Enable

source

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

Bit 8 - Auto CMD Error Status Enable

source

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

Bit 9 - ADMA Error Status Enable

source

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

Bit 12 - Boot Acknowledge Error Status Enable

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