Type Alias atsame54n::sdhc0::nisier::W

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

Register NISIER writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bit 0 - Command Complete Signal Enable

source

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

Bit 1 - Transfer Complete Signal Enable

source

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

Bit 2 - Block Gap Event Signal Enable

source

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

Bit 3 - DMA Interrupt Signal Enable

source

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

Bit 4 - Buffer Write Ready Signal Enable

source

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

Bit 5 - Buffer Read Ready Signal Enable

source

pub fn cins(&mut self) -> CINS_W<'_, NISIER_SPEC, 6>

Bit 6 - Card Insertion Signal Enable

source

pub fn crem(&mut self) -> CREM_W<'_, NISIER_SPEC, 7>

Bit 7 - Card Removal Signal Enable

source

pub fn cint(&mut self) -> CINT_W<'_, NISIER_SPEC, 8>

Bit 8 - Card Interrupt Signal 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