Type Alias atsame54n::oscctrl::dfllctrlb::W

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

Register DFLLCTRLB writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mode(&mut self) -> MODE_W<'_, DFLLCTRLB_SPEC, 0>

Bit 0 - Operating Mode Selection

source

pub fn stable(&mut self) -> STABLE_W<'_, DFLLCTRLB_SPEC, 1>

Bit 1 - Stable DFLL Frequency

source

pub fn llaw(&mut self) -> LLAW_W<'_, DFLLCTRLB_SPEC, 2>

Bit 2 - Lose Lock After Wake

source

pub fn usbcrm(&mut self) -> USBCRM_W<'_, DFLLCTRLB_SPEC, 3>

Bit 3 - USB Clock Recovery Mode

source

pub fn ccdis(&mut self) -> CCDIS_W<'_, DFLLCTRLB_SPEC, 4>

Bit 4 - Chill Cycle Disable

source

pub fn qldis(&mut self) -> QLDIS_W<'_, DFLLCTRLB_SPEC, 5>

Bit 5 - Quick Lock Disable

source

pub fn bplckc(&mut self) -> BPLCKC_W<'_, DFLLCTRLB_SPEC, 6>

Bit 6 - Bypass Coarse Lock

source

pub fn waitlock(&mut self) -> WAITLOCK_W<'_, DFLLCTRLB_SPEC, 7>

Bit 7 - Wait Lock

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual