Type Alias Sense0W

Source
pub type Sense0W<'a, REG> = FieldWriter<'a, REG, 3, Sense0select>;
Expand description

Field SENSE0 writer - Input Sense 0 Configuration

Aliased Type§

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

Implementations§

Source§

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

Source

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

No detection

Source

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

Rising-edge detection

Source

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

Falling-edge detection

Source

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

Both-edges detection

Source

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

High-level detection

Source

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

Low-level detection