Type Alias atsamd51n::sdhc0::pcr::W

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

Register PCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sdbpwr(&mut self) -> SDBPWR_W<'_, PCR_SPEC, 0>

Bit 0 - SD Bus Power

source

pub fn sdbvsel(&mut self) -> SDBVSEL_W<'_, PCR_SPEC, 1>

Bits 1:3 - SD Bus Voltage Select

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