Type Alias R

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

Register XOSCCTRL[%s] 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 lowbufgain(&self) -> LowbufgainR

Bit 8 - Low Buffer Gain Enable

Source

pub fn iptat(&self) -> IptatR

Bits 9:10 - Oscillator Current Reference

Source

pub fn imult(&self) -> ImultR

Bits 11:14 - Oscillator Current Multiplier

Source

pub fn enalc(&self) -> EnalcR

Bit 15 - Automatic Loop Control Enable

Source

pub fn cfden(&self) -> CfdenR

Bit 16 - Clock Failure Detector Enable

Source

pub fn swben(&self) -> SwbenR

Bit 17 - Xosc Clock Switch Enable

Source

pub fn startup(&self) -> StartupR

Bits 20:23 - Start-Up Time

Source

pub fn cfdpresc(&self) -> CfdprescR

Bits 24:27 - Clock Failure Detector Prescaler