atsamd21g::ac::compctrl

Type Alias SpeedW

Source
pub type SpeedW<'a, REG> = FieldWriter<'a, REG, 2, Speedselect>;
Expand description

Field SPEED writer - Speed Selection

Aliased Type§

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

Implementations§

Source§

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

Source

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

Low speed

Source

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

High speed