Type Alias W

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

Register XOSCCTRL[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Bit 1 - Oscillator Enable

Source

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

Bit 2 - Crystal Oscillator Enable

Source

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

Bit 6 - Run in Standby

Source

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

Bit 7 - On Demand Control

Source

pub fn lowbufgain(&mut self) -> LowbufgainW<'_, XoscctrlSpec>

Bit 8 - Low Buffer Gain Enable

Source

pub fn iptat(&mut self) -> IptatW<'_, XoscctrlSpec>

Bits 9:10 - Oscillator Current Reference

Source

pub fn imult(&mut self) -> ImultW<'_, XoscctrlSpec>

Bits 11:14 - Oscillator Current Multiplier

Source

pub fn enalc(&mut self) -> EnalcW<'_, XoscctrlSpec>

Bit 15 - Automatic Loop Control Enable

Source

pub fn cfden(&mut self) -> CfdenW<'_, XoscctrlSpec>

Bit 16 - Clock Failure Detector Enable

Source

pub fn swben(&mut self) -> SwbenW<'_, XoscctrlSpec>

Bit 17 - Xosc Clock Switch Enable

Source

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

Bits 20:23 - Start-Up Time

Source

pub fn cfdpresc(&mut self) -> CfdprescW<'_, XoscctrlSpec>

Bits 24:27 - Clock Failure Detector Prescaler