Type Alias atsame54n::tcc0::fctrlb::SRC_W

source ·
pub type SRC_W<'a, REG, const O: u8> = FieldWriterSafe<'a, REG, 2, O, SRCSELECT_A>;
Expand description

Field SRC writer - Fault B Source

Aliased Type§

struct SRC_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> SRC_W<'a, REG, O>
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