Type Alias nrf52840_pac::lpcomp::extrefsel::EXTREFSEL_W

source ·
pub type EXTREFSEL_W<'a, const O: u8> = BitWriter<'a, u32, EXTREFSEL_SPEC, EXTREFSEL_A, O>;
Expand description

Field EXTREFSEL writer - External analog reference select

Aliased Type§

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

Implementations§

source§

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

source

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

Use AIN0 as external analog reference

source

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

Use AIN1 as external analog reference