pub type W = W<XoscctrlSpec>;
Expand description
Register XOSCCTRL[%s]
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn enable(&mut self) -> EnableW<'_, XoscctrlSpec>
pub fn enable(&mut self) -> EnableW<'_, XoscctrlSpec>
Bit 1 - Oscillator Enable
Sourcepub fn xtalen(&mut self) -> XtalenW<'_, XoscctrlSpec>
pub fn xtalen(&mut self) -> XtalenW<'_, XoscctrlSpec>
Bit 2 - Crystal Oscillator Enable
Sourcepub fn runstdby(&mut self) -> RunstdbyW<'_, XoscctrlSpec>
pub fn runstdby(&mut self) -> RunstdbyW<'_, XoscctrlSpec>
Bit 6 - Run in Standby
Sourcepub fn ondemand(&mut self) -> OndemandW<'_, XoscctrlSpec>
pub fn ondemand(&mut self) -> OndemandW<'_, XoscctrlSpec>
Bit 7 - On Demand Control
Sourcepub fn lowbufgain(&mut self) -> LowbufgainW<'_, XoscctrlSpec>
pub fn lowbufgain(&mut self) -> LowbufgainW<'_, XoscctrlSpec>
Bit 8 - Low Buffer Gain Enable
Sourcepub fn iptat(&mut self) -> IptatW<'_, XoscctrlSpec>
pub fn iptat(&mut self) -> IptatW<'_, XoscctrlSpec>
Bits 9:10 - Oscillator Current Reference
Sourcepub fn imult(&mut self) -> ImultW<'_, XoscctrlSpec>
pub fn imult(&mut self) -> ImultW<'_, XoscctrlSpec>
Bits 11:14 - Oscillator Current Multiplier
Sourcepub fn enalc(&mut self) -> EnalcW<'_, XoscctrlSpec>
pub fn enalc(&mut self) -> EnalcW<'_, XoscctrlSpec>
Bit 15 - Automatic Loop Control Enable
Sourcepub fn cfden(&mut self) -> CfdenW<'_, XoscctrlSpec>
pub fn cfden(&mut self) -> CfdenW<'_, XoscctrlSpec>
Bit 16 - Clock Failure Detector Enable
Sourcepub fn swben(&mut self) -> SwbenW<'_, XoscctrlSpec>
pub fn swben(&mut self) -> SwbenW<'_, XoscctrlSpec>
Bit 17 - Xosc Clock Switch Enable
Sourcepub fn startup(&mut self) -> StartupW<'_, XoscctrlSpec>
pub fn startup(&mut self) -> StartupW<'_, XoscctrlSpec>
Bits 20:23 - Start-Up Time
Sourcepub fn cfdpresc(&mut self) -> CfdprescW<'_, XoscctrlSpec>
pub fn cfdpresc(&mut self) -> CfdprescW<'_, XoscctrlSpec>
Bits 24:27 - Clock Failure Detector Prescaler