Type Alias atsame51j::oscctrl::dfllmul::W

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

Register DFLLMUL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mul(&mut self) -> MUL_W<'_, DFLLMUL_SPEC, 0>

Bits 0:15 - DFLL Multiply Factor

source

pub fn fstep(&mut self) -> FSTEP_W<'_, DFLLMUL_SPEC, 16>

Bits 16:23 - Fine Maximum Step

source

pub fn cstep(&mut self) -> CSTEP_W<'_, DFLLMUL_SPEC, 26>

Bits 26:31 - Coarse Maximum Step

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