#[repr(u8)]pub enum Haltselect {
Disable = 0,
Hw = 1,
Sw = 2,
Nr = 3,
}
Expand description
Fault A Halt Mode
Value on reset: 0
Variants§
Disable = 0
0: Halt action disabled
Hw = 1
1: Hardware halt action
Sw = 2
2: Software halt action
Nr = 3
3: Non-recoverable fault
Trait Implementations§
Source§impl Clone for Haltselect
impl Clone for Haltselect
Source§fn clone(&self) -> Haltselect
fn clone(&self) -> Haltselect
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Haltselect
impl Debug for Haltselect
Source§impl From<Haltselect> for u8
impl From<Haltselect> for u8
Source§fn from(variant: Haltselect) -> Self
fn from(variant: Haltselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Haltselect
impl PartialEq for Haltselect
impl Copy for Haltselect
impl Eq for Haltselect
impl IsEnum for Haltselect
impl StructuralPartialEq for Haltselect
Auto Trait Implementations§
impl Freeze for Haltselect
impl RefUnwindSafe for Haltselect
impl Send for Haltselect
impl Sync for Haltselect
impl Unpin for Haltselect
impl UnwindSafe for Haltselect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more