[][src]Struct feather_m0::sysctrl::xosc32k::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u16) -> &mut W[src]

Writes raw bits to the register

pub fn enable(&mut self) -> _ENABLEW[src]

Bit 1 - Oscillator Enable

pub fn xtalen(&mut self) -> _XTALENW[src]

Bit 2 - Crystal Oscillator Enable

pub fn en32k(&mut self) -> _EN32KW[src]

Bit 3 - 32kHz Output Enable

pub fn en1k(&mut self) -> _EN1KW[src]

Bit 4 - 1kHz Output Enable

pub fn aampen(&mut self) -> _AAMPENW[src]

Bit 5 - Automatic Amplitude Control Enable

pub fn runstdby(&mut self) -> _RUNSTDBYW[src]

Bit 6 - Run in Standby

pub fn ondemand(&mut self) -> _ONDEMANDW[src]

Bit 7 - On Demand Control

pub fn startup(&mut self) -> _STARTUPW[src]

Bits 8:10 - Oscillator Start-Up Time

pub fn wrtlock(&mut self) -> _WRTLOCKW[src]

Bit 12 - Write Lock

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]