[][src]Struct atsamd21g18a::sysctrl::xosc::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 Self[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 runstdby(&mut self) -> _RUNSTDBYW[src]

Bit 6 - Run in Standby

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

Bit 7 - On Demand Control

pub fn gain(&mut self) -> _GAINW[src]

Bits 8:10 - Oscillator Gain

pub fn ampgc(&mut self) -> _AMPGCW[src]

Bit 11 - Automatic Amplitude Gain Control

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

Bits 12:15 - Start-Up Time

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]