Type Alias atsamd51j::sdhc0::bsr::W

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

Register BSR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn blocksize(&mut self) -> BLOCKSIZE_W<'_, BSR_SPEC, 0>

Bits 0:9 - Transfer Block Size

source

pub fn boundary(&mut self) -> BOUNDARY_W<'_, BSR_SPEC, 12>

Bits 12:14 - SDMA Buffer Boundary

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