Type Alias nrf52840_pac::clock::lfclksrc::EXTERNAL_W

source ·
pub type EXTERNAL_W<'a, const O: u8> = BitWriter<'a, u32, LFCLKSRC_SPEC, EXTERNAL_A, O>;
Expand description

Field EXTERNAL writer - Enable or disable external source for LFCLK

Aliased Type§

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

Implementations§

source§

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

source

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

Disable external source (use with Xtal)

source

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

Enable use of external source instead of Xtal (SRC needs to be set to Xtal)