atsamd21g::sysctrl::xosc32k

Type Alias R

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

Register XOSC32K 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 en32k(&self) -> En32kR

Bit 3 - 32kHz Output Enable

Source

pub fn en1k(&self) -> En1kR

Bit 4 - 1kHz Output Enable

Source

pub fn aampen(&self) -> AampenR

Bit 5 - Automatic Amplitude Control 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 startup(&self) -> StartupR

Bits 8:10 - Oscillator Start-Up Time

Source

pub fn wrtlock(&self) -> WrtlockR

Bit 12 - Write Lock