Type Alias atsame54n::oscctrl::dfllval::W

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

Register DFLLVAL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn fine(&mut self) -> FINE_W<'_, DFLLVAL_SPEC, 0>

Bits 0:7 - Fine Value

source

pub fn coarse(&mut self) -> COARSE_W<'_, DFLLVAL_SPEC, 10>

Bits 10:15 - Coarse Value

source

pub fn diff(&mut self) -> DIFF_W<'_, DFLLVAL_SPEC, 16>

Bits 16:31 - Multiplication Ratio Difference

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