Type Alias SrcW

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

Field SRC writer - Fault B Source

Aliased Type§

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

Implementations§

Source§

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

Source

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

Fault input disabled

Source

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

MCEx (x=0,1) event input

Source

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

Inverted MCEx (x=0,1) event input

Source

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

Alternate fault (A or B) state at the end of the previous period