Type Alias atsame54n::oscctrl::dpll::dpllratio::W

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

Register DPLLRATIO writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ldr(&mut self) -> LDR_W<'_, DPLLRATIO_SPEC, 0>

Bits 0:12 - Loop Divider Ratio

source

pub fn ldrfrac(&mut self) -> LDRFRAC_W<'_, DPLLRATIO_SPEC, 16>

Bits 16:20 - Loop Divider Ratio Fractional Part

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