atsamd11d::sysctrl::osc32k

Type Alias W

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

Register OSC32K writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Bit 1 - Oscillator Enable

Source

pub fn en32k(&mut self) -> En32kW<'_, Osc32kSpec>

Bit 2 - 32kHz Output Enable

Source

pub fn en1k(&mut self) -> En1kW<'_, Osc32kSpec>

Bit 3 - 1kHz Output Enable

Source

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

Bit 6 - Run in Standby

Source

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

Bit 7 - On Demand Control

Source

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

Bits 8:10 - Oscillator Start-Up Time

Source

pub fn wrtlock(&mut self) -> WrtlockW<'_, Osc32kSpec>

Bit 12 - Write Lock

Source

pub fn calib(&mut self) -> CalibW<'_, Osc32kSpec>

Bits 16:22 - Oscillator Calibration