pub type W = W<XOSCCTRL_SPEC>;
Expand description
Register XOSCCTRL[%s]
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn enable(&mut self) -> ENABLE_W<'_, XOSCCTRL_SPEC, 1>
pub fn enable(&mut self) -> ENABLE_W<'_, XOSCCTRL_SPEC, 1>
Bit 1 - Oscillator Enable
sourcepub fn xtalen(&mut self) -> XTALEN_W<'_, XOSCCTRL_SPEC, 2>
pub fn xtalen(&mut self) -> XTALEN_W<'_, XOSCCTRL_SPEC, 2>
Bit 2 - Crystal Oscillator Enable
sourcepub fn runstdby(&mut self) -> RUNSTDBY_W<'_, XOSCCTRL_SPEC, 6>
pub fn runstdby(&mut self) -> RUNSTDBY_W<'_, XOSCCTRL_SPEC, 6>
Bit 6 - Run in Standby
sourcepub fn ondemand(&mut self) -> ONDEMAND_W<'_, XOSCCTRL_SPEC, 7>
pub fn ondemand(&mut self) -> ONDEMAND_W<'_, XOSCCTRL_SPEC, 7>
Bit 7 - On Demand Control
sourcepub fn lowbufgain(&mut self) -> LOWBUFGAIN_W<'_, XOSCCTRL_SPEC, 8>
pub fn lowbufgain(&mut self) -> LOWBUFGAIN_W<'_, XOSCCTRL_SPEC, 8>
Bit 8 - Low Buffer Gain Enable
sourcepub fn iptat(&mut self) -> IPTAT_W<'_, XOSCCTRL_SPEC, 9>
pub fn iptat(&mut self) -> IPTAT_W<'_, XOSCCTRL_SPEC, 9>
Bits 9:10 - Oscillator Current Reference
sourcepub fn imult(&mut self) -> IMULT_W<'_, XOSCCTRL_SPEC, 11>
pub fn imult(&mut self) -> IMULT_W<'_, XOSCCTRL_SPEC, 11>
Bits 11:14 - Oscillator Current Multiplier
sourcepub fn enalc(&mut self) -> ENALC_W<'_, XOSCCTRL_SPEC, 15>
pub fn enalc(&mut self) -> ENALC_W<'_, XOSCCTRL_SPEC, 15>
Bit 15 - Automatic Loop Control Enable
sourcepub fn cfden(&mut self) -> CFDEN_W<'_, XOSCCTRL_SPEC, 16>
pub fn cfden(&mut self) -> CFDEN_W<'_, XOSCCTRL_SPEC, 16>
Bit 16 - Clock Failure Detector Enable
sourcepub fn swben(&mut self) -> SWBEN_W<'_, XOSCCTRL_SPEC, 17>
pub fn swben(&mut self) -> SWBEN_W<'_, XOSCCTRL_SPEC, 17>
Bit 17 - Xosc Clock Switch Enable
sourcepub fn startup(&mut self) -> STARTUP_W<'_, XOSCCTRL_SPEC, 20>
pub fn startup(&mut self) -> STARTUP_W<'_, XOSCCTRL_SPEC, 20>
Bits 20:23 - Start-Up Time
sourcepub fn cfdpresc(&mut self) -> CFDPRESC_W<'_, XOSCCTRL_SPEC, 24>
pub fn cfdpresc(&mut self) -> CFDPRESC_W<'_, XOSCCTRL_SPEC, 24>
Bits 24:27 - Clock Failure Detector Prescaler