atsamd21g::tcc0::fctrla

Type Alias HaltW

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

Field HALT writer - Fault A Halt Mode

Aliased Type§

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

Implementations§

Source§

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

Source

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

Halt action disabled

Source

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

Hardware halt action

Source

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

Software halt action

Source

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

Non-recoverable fault