Type Alias atsamd51j::sdhc0::nistr_emmc_mode::W

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

Register NISTR_EMMC_MODE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cmdc(&mut self) -> CMDC_W<'_, NISTR_EMMC_MODE_SPEC, 0>

Bit 0 - Command Complete

source

pub fn trfc(&mut self) -> TRFC_W<'_, NISTR_EMMC_MODE_SPEC, 1>

Bit 1 - Transfer Complete

source

pub fn blkge(&mut self) -> BLKGE_W<'_, NISTR_EMMC_MODE_SPEC, 2>

Bit 2 - Block Gap Event

source

pub fn dmaint(&mut self) -> DMAINT_W<'_, NISTR_EMMC_MODE_SPEC, 3>

Bit 3 - DMA Interrupt

source

pub fn bwrrdy(&mut self) -> BWRRDY_W<'_, NISTR_EMMC_MODE_SPEC, 4>

Bit 4 - Buffer Write Ready

source

pub fn brdrdy(&mut self) -> BRDRDY_W<'_, NISTR_EMMC_MODE_SPEC, 5>

Bit 5 - Buffer Read Ready

source

pub fn bootar(&mut self) -> BOOTAR_W<'_, NISTR_EMMC_MODE_SPEC, 14>

Bit 14 - Boot Acknowledge Received

source

pub fn errint(&mut self) -> ERRINT_W<'_, NISTR_EMMC_MODE_SPEC, 15>

Bit 15 - Error Interrupt

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