Struct Fault
#[repr(transparent)]pub struct Fault(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Fault
impl Fault
pub const DISABLED: Self
pub const DISABLED: Self
No action: the output is not affected by the fault input and stays in run mode
pub const SETACTIVE: Self
pub const SETACTIVE: Self
Output goes to active state after a fault event
pub const SETINACTIVE: Self
pub const SETINACTIVE: Self
Output goes to inactive state after a fault event
pub const SETHIGHZ: Self
pub const SETHIGHZ: Self
Output goes to high-z state after a fault event
Trait Implementations§
§impl Ord for Fault
impl Ord for Fault
§impl PartialOrd for Fault
impl PartialOrd for Fault
impl Copy for Fault
impl Eq for Fault
impl StructuralPartialEq for Fault
Auto Trait Implementations§
impl Freeze for Fault
impl RefUnwindSafe for Fault
impl Send for Fault
impl Sync for Fault
impl Unpin for Fault
impl UnwindSafe for Fault
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