Type Alias atsamd51j::sdhc0::srr::W

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

Register SRR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn swrstall(&mut self) -> SWRSTALL_W<'_, SRR_SPEC, 0>

Bit 0 - Software Reset For All

source

pub fn swrstcmd(&mut self) -> SWRSTCMD_W<'_, SRR_SPEC, 1>

Bit 1 - Software Reset For CMD Line

source

pub fn swrstdat(&mut self) -> SWRSTDAT_W<'_, SRR_SPEC, 2>

Bit 2 - Software Reset For DAT Line

source

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual