nrf52840_pac::lpcomp::extrefsel

Type Alias 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