Type Alias atsame54n::sdhc0::ccr::W

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

Register CCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn intclken(&mut self) -> INTCLKEN_W<'_, CCR_SPEC, 0>

Bit 0 - Internal Clock Enable

source

pub fn intclks(&mut self) -> INTCLKS_W<'_, CCR_SPEC, 1>

Bit 1 - Internal Clock Stable

source

pub fn sdclken(&mut self) -> SDCLKEN_W<'_, CCR_SPEC, 2>

Bit 2 - SD Clock Enable

source

pub fn clkgsel(&mut self) -> CLKGSEL_W<'_, CCR_SPEC, 5>

Bit 5 - Clock Generator Select

source

pub fn usdclkfsel(&mut self) -> USDCLKFSEL_W<'_, CCR_SPEC, 6>

Bits 6:7 - Upper Bits of SDCLK Frequency Select

source

pub fn sdclkfsel(&mut self) -> SDCLKFSEL_W<'_, CCR_SPEC, 8>

Bits 8:15 - SDCLK Frequency Select

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