Enum stm32_metapac::hrtim::vals::Fault
#[repr(u8)]pub enum Fault {
DISABLED = 0,
SETACTIVE = 1,
SETINACTIVE = 2,
SETHIGHZ = 3,
}
Variants§
DISABLED = 0
No action: the output is not affected by the fault input and stays in run mode
SETACTIVE = 1
Output goes to active state after a fault event
SETINACTIVE = 2
Output goes to inactive state after a fault event
SETHIGHZ = 3
Output goes to high-z state after a fault event
Implementations§
Trait Implementations§
§impl Ord for Fault
impl Ord for Fault
§impl PartialOrd for Fault
impl PartialOrd for Fault
§fn partial_cmp(&self, other: &Fault) -> Option<Ordering>
fn partial_cmp(&self, other: &Fault) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Fault
impl Eq for Fault
impl StructuralEq for Fault
impl StructuralPartialEq for Fault
Auto Trait Implementations§
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