atsamd21g::sysctrl::xosc

Type Alias R

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

Register XOSC reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn enable(&self) -> EnableR

Bit 1 - Oscillator Enable

Source

pub fn xtalen(&self) -> XtalenR

Bit 2 - Crystal Oscillator Enable

Source

pub fn runstdby(&self) -> RunstdbyR

Bit 6 - Run in Standby

Source

pub fn ondemand(&self) -> OndemandR

Bit 7 - On Demand Control

Source

pub fn gain(&self) -> GainR

Bits 8:10 - Oscillator Gain

Source

pub fn ampgc(&self) -> AmpgcR

Bit 11 - Automatic Amplitude Gain Control

Source

pub fn startup(&self) -> StartupR

Bits 12:15 - Start-Up Time