ModeW

Type Alias ModeW 

pub type ModeW<'a, REG> = FieldWriter<'a, REG, 2, Mode>;
Expand description

Field MODE writer - Conversion mode selection

Aliased Type§

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

Implementations§

§

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

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

8-bit conversion.

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

12-bit conversion.

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

10-bit conversion.