Type Alias atsame54n::oscctrl::dpll::dpllctrlb::W

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

Register DPLLCTRLB writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn filter(&mut self) -> FILTER_W<'_, DPLLCTRLB_SPEC, 0>

Bits 0:3 - Proportional Integral Filter Selection

source

pub fn wuf(&mut self) -> WUF_W<'_, DPLLCTRLB_SPEC, 4>

Bit 4 - Wake Up Fast

source

pub fn refclk(&mut self) -> REFCLK_W<'_, DPLLCTRLB_SPEC, 5>

Bits 5:7 - Reference Clock Selection

source

pub fn ltime(&mut self) -> LTIME_W<'_, DPLLCTRLB_SPEC, 8>

Bits 8:10 - Lock Time

source

pub fn lbypass(&mut self) -> LBYPASS_W<'_, DPLLCTRLB_SPEC, 11>

Bit 11 - Lock Bypass

source

pub fn dcofilter(&mut self) -> DCOFILTER_W<'_, DPLLCTRLB_SPEC, 12>

Bits 12:14 - Sigma-Delta DCO Filter Selection

source

pub fn dcoen(&mut self) -> DCOEN_W<'_, DPLLCTRLB_SPEC, 15>

Bit 15 - DCO Filter Enable

source

pub fn div(&mut self) -> DIV_W<'_, DPLLCTRLB_SPEC, 16>

Bits 16:26 - Clock Divider

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