[][src]Type Definition atsamd21g18a::sysctrl::xosc::W

type W = W<u16, XOSC>;

Writer for register XOSC

Implementations

impl W[src]

pub fn enable(&mut self) -> ENABLE_W<'_>[src]

Bit 1 - Oscillator Enable

pub fn xtalen(&mut self) -> XTALEN_W<'_>[src]

Bit 2 - Crystal Oscillator Enable

pub fn runstdby(&mut self) -> RUNSTDBY_W<'_>[src]

Bit 6 - Run in Standby

pub fn ondemand(&mut self) -> ONDEMAND_W<'_>[src]

Bit 7 - On Demand Control

pub fn gain(&mut self) -> GAIN_W<'_>[src]

Bits 8:10 - Oscillator Gain

pub fn ampgc(&mut self) -> AMPGC_W<'_>[src]

Bit 11 - Automatic Amplitude Gain Control

pub fn startup(&mut self) -> STARTUP_W<'_>[src]

Bits 12:15 - Start-Up Time