Type Alias nrf52840_pac::comp::extrefsel::EXTREFSEL_W

source ·
pub type EXTREFSEL_W<'a, const O: u8> = FieldWriterSafe<'a, u32, EXTREFSEL_SPEC, u8, EXTREFSEL_A, 3, 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

source

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

Use AIN2 as external analog reference

source

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

Use AIN3 as external analog reference

source

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

Use AIN4 as external analog reference

source

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

Use AIN5 as external analog reference

source

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

Use AIN6 as external analog reference

source

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

Use AIN7 as external analog reference