Type Alias atsamd51p::adc0::ctrla::DUALSEL_W

source ·
pub type DUALSEL_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 2, O, DUALSELSELECT_A>;
Expand description

Field DUALSEL writer - Dual Mode Trigger Selection

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> DUALSEL_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn both(self) -> &'a mut W<REG>

Start event or software trigger will start a conversion on both ADCs

source

pub fn interleave(self) -> &'a mut W<REG>

START event or software trigger will alternatingly start a conversion on ADC0 and ADC1