pub type Ch0cappscW<'a, REG> = FieldWriterSafe<'a, REG, 2, Ch0cappsc>;
Expand description

Field CH0CAPPSC writer - Channel 0 input capture prescaler

Aliased Type§

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

Implementations§

source§

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

source

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

Prescaler disabled, capture on every edge

source

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

Capture every 2 edges

source

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

Capture every 4 edges

source

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

Capture every 8 edges