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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)