Type Definition atsam4lc8a_pac::scif::oscctrl0::W[][src]

type W = W<u32, OSCCTRL0>;

Writer for register OSCCTRL0

Implementations

impl W[src]

pub fn mode(&mut self) -> MODE_W<'_>[src]

Bit 0 - Oscillator Mode

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

Bits 1:2 - Gain

pub fn agc(&mut self) -> AGC_W<'_>[src]

Bit 3 - Automatic Gain Control

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

Bits 8:11 - Oscillator Start-up Time

pub fn oscen(&mut self) -> OSCEN_W<'_>[src]

Bit 16 - Oscillator Enable