atsamd21g::sysctrl::xosc

Type Alias W

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

Register XOSC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Bit 1 - Oscillator Enable

Source

pub fn xtalen(&mut self) -> XtalenW<'_, XoscSpec>

Bit 2 - Crystal Oscillator Enable

Source

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

Bit 6 - Run in Standby

Source

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

Bit 7 - On Demand Control

Source

pub fn gain(&mut self) -> GainW<'_, XoscSpec>

Bits 8:10 - Oscillator Gain

Source

pub fn ampgc(&mut self) -> AmpgcW<'_, XoscSpec>

Bit 11 - Automatic Amplitude Gain Control

Source

pub fn startup(&mut self) -> StartupW<'_, XoscSpec>

Bits 12:15 - Start-Up Time