Type Alias atsame54n::sdhc0::tmr::W

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

Register TMR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dmaen(&mut self) -> DMAEN_W<'_, TMR_SPEC, 0>

Bit 0 - DMA Enable

source

pub fn bcen(&mut self) -> BCEN_W<'_, TMR_SPEC, 1>

Bit 1 - Block Count Enable

source

pub fn acmden(&mut self) -> ACMDEN_W<'_, TMR_SPEC, 2>

Bits 2:3 - Auto Command Enable

source

pub fn dtdsel(&mut self) -> DTDSEL_W<'_, TMR_SPEC, 4>

Bit 4 - Data Transfer Direction Selection

source

pub fn msbsel(&mut self) -> MSBSEL_W<'_, TMR_SPEC, 5>

Bit 5 - Multi/Single Block Selection

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