atsamd51g::osc32kctrl::rtcctrl

Type Alias RtcselW

Source
pub type RtcselW<'a, REG> = FieldWriter<'a, REG, 3, Rtcselselect>;
Expand description

Field RTCSEL writer - RTC Clock Selection

Aliased Type§

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

Implementations§

Source§

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

Source

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

1.024kHz from 32kHz internal ULP oscillator

Source

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

32.768kHz from 32kHz internal ULP oscillator

Source

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

1.024kHz from 32.768kHz internal oscillator

Source

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

32.768kHz from 32.768kHz external crystal oscillator