atsamd21j::adc::ctrlb

Type Alias ResselW

Source
pub type ResselW<'a, REG> = FieldWriter<'a, REG, 2, Resselselect, Safe>;
Expand description

Field RESSEL writer - Conversion Result Resolution

Aliased Type§

struct ResselW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> ResselW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

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

12-bit result

Source

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

For averaging mode output

Source

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

10-bit result

Source

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

8-bit result