atsamd21g::sysctrl::xosc

Type Alias GainW

Source
pub type GainW<'a, REG> = FieldWriter<'a, REG, 3, Gainselect>;
Expand description

Field GAIN writer - Oscillator Gain

Aliased Type§

struct GainW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> GainW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

pub fn _0(self) -> &'a mut W<REG>

2MHz

Source

pub fn _1(self) -> &'a mut W<REG>

4MHz

Source

pub fn _2(self) -> &'a mut W<REG>

8MHz

Source

pub fn _3(self) -> &'a mut W<REG>

16MHz

Source

pub fn _4(self) -> &'a mut W<REG>

30MHz