atsamd21g::sysctrl::osc8m

Type Alias W

Source
pub type W = W<Osc8mSpec>;
Expand description

Register OSC8M writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn enable(&mut self) -> EnableW<'_, Osc8mSpec>

Bit 1 - Oscillator Enable

Source

pub fn runstdby(&mut self) -> RunstdbyW<'_, Osc8mSpec>

Bit 6 - Run in Standby

Source

pub fn ondemand(&mut self) -> OndemandW<'_, Osc8mSpec>

Bit 7 - On Demand Control

Source

pub fn presc(&mut self) -> PrescW<'_, Osc8mSpec>

Bits 8:9 - Oscillator Prescaler

Source

pub fn calib(&mut self) -> CalibW<'_, Osc8mSpec>

Bits 16:27 - Oscillator Calibration

Source

pub fn frange(&mut self) -> FrangeW<'_, Osc8mSpec>

Bits 30:31 - Oscillator Frequency Range