atsamd21g::sysctrl::xosc

Type Alias GainR

Source
pub type GainR = FieldReader<Gainselect>;
Expand description

Field GAIN reader - Oscillator Gain

Aliased Type§

struct GainR { /* private fields */ }

Implementations§

Source§

impl GainR

Source

pub const fn variant(&self) -> Option<Gainselect>

Get enumerated values variant

Source

pub fn is_0(&self) -> bool

2MHz

Source

pub fn is_1(&self) -> bool

4MHz

Source

pub fn is_2(&self) -> bool

8MHz

Source

pub fn is_3(&self) -> bool

16MHz

Source

pub fn is_4(&self) -> bool

30MHz