Type Alias atsame54n::tcc0::fctrla::HALT_W

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

Field HALT writer - Fault A Halt Mode

Aliased Type§

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

Implementations§

source§

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