Type Alias atsame54n::osc32kctrl::xosc32k::W
source · pub type W = W<XOSC32K_SPEC>;
Expand description
Register XOSC32K
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn enable(&mut self) -> ENABLE_W<'_, XOSC32K_SPEC, 1>
pub fn enable(&mut self) -> ENABLE_W<'_, XOSC32K_SPEC, 1>
Bit 1 - Oscillator Enable
sourcepub fn xtalen(&mut self) -> XTALEN_W<'_, XOSC32K_SPEC, 2>
pub fn xtalen(&mut self) -> XTALEN_W<'_, XOSC32K_SPEC, 2>
Bit 2 - Crystal Oscillator Enable
sourcepub fn en32k(&mut self) -> EN32K_W<'_, XOSC32K_SPEC, 3>
pub fn en32k(&mut self) -> EN32K_W<'_, XOSC32K_SPEC, 3>
Bit 3 - 32kHz Output Enable
sourcepub fn en1k(&mut self) -> EN1K_W<'_, XOSC32K_SPEC, 4>
pub fn en1k(&mut self) -> EN1K_W<'_, XOSC32K_SPEC, 4>
Bit 4 - 1kHz Output Enable
sourcepub fn runstdby(&mut self) -> RUNSTDBY_W<'_, XOSC32K_SPEC, 6>
pub fn runstdby(&mut self) -> RUNSTDBY_W<'_, XOSC32K_SPEC, 6>
Bit 6 - Run in Standby
sourcepub fn ondemand(&mut self) -> ONDEMAND_W<'_, XOSC32K_SPEC, 7>
pub fn ondemand(&mut self) -> ONDEMAND_W<'_, XOSC32K_SPEC, 7>
Bit 7 - On Demand Control
sourcepub fn startup(&mut self) -> STARTUP_W<'_, XOSC32K_SPEC, 8>
pub fn startup(&mut self) -> STARTUP_W<'_, XOSC32K_SPEC, 8>
Bits 8:10 - Oscillator Start-Up Time
sourcepub fn wrtlock(&mut self) -> WRTLOCK_W<'_, XOSC32K_SPEC, 12>
pub fn wrtlock(&mut self) -> WRTLOCK_W<'_, XOSC32K_SPEC, 12>
Bit 12 - Write Lock
sourcepub fn cgm(&mut self) -> CGM_W<'_, XOSC32K_SPEC, 13>
pub fn cgm(&mut self) -> CGM_W<'_, XOSC32K_SPEC, 13>
Bits 13:14 - Control Gain Mode