Type Alias nrf52840_pac::clock::lfclksrc::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)