pub type MODE_W<'a, const O: u8> = FieldWriter<'a, u32, LFXOCTRL_SPEC, u8, MODE_A, 2, O>;
Expand description

Field MODE writer - LFXO Mode

Implementations§

source§

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

source

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

32768 Hz crystal oscillator

source

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

An AC coupled buffer is coupled in series with LFXTAL_N pin, suitable for external sinus wave (32768 Hz).

source

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

Digital external clock on LFXTAL_N pin. Oscillator is effectively bypassed.