Type Alias atsamd51j::sdhc0::cacr::W

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

Register CACR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn capwren(&mut self) -> CAPWREN_W<'_, CACR_SPEC, 0>

Bit 0 - Capabilities Registers Write Enable (Required to write the correct frequencies in the Capabilities Registers)

source

pub fn key(&mut self) -> KEY_W<'_, CACR_SPEC, 8>

Bits 8:15 - Key (0x46)

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual