nrf52840_pac::clock::lfclksrc

Type Alias SRC_W

Source
pub type SRC_W<'a, const O: u8> = FieldWriter<'a, u32, LFCLKSRC_SPEC, u8, SRC_A, 2, O>;
Expand description

Field SRC writer - Clock source

Aliased Type§

struct SRC_W<'a, const O: u8> { /* private fields */ }

Implementations§

Source§

impl<'a, const O: u8> SRC_W<'a, O>

Source

pub fn rc(self) -> &'a mut W

32.768 kHz RC oscillator (LFRC)

Source

pub fn xtal(self) -> &'a mut W

32.768 kHz crystal oscillator (LFXO)

Source

pub fn synth(self) -> &'a mut W

32.768 kHz synthesized from HFCLK (LFSYNT)