Type Alias atsame54n::oscctrl::dpll::dpllctrla::W

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

Register DPLLCTRLA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn enable(&mut self) -> ENABLE_W<'_, DPLLCTRLA_SPEC, 1>

Bit 1 - DPLL Enable

source

pub fn runstdby(&mut self) -> RUNSTDBY_W<'_, DPLLCTRLA_SPEC, 6>

Bit 6 - Run in Standby

source

pub fn ondemand(&mut self) -> ONDEMAND_W<'_, DPLLCTRLA_SPEC, 7>

Bit 7 - On Demand Control

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