Enum stm32_metapac::hrtim::vals::Delcmp
#[repr(u8)]pub enum Delcmp {
STANDARD = 0,
CAPTURE1 = 1,
CAPTUREX_COMPARE1 = 2,
CAPTUREX_COMPARE3 = 3,
}
Variants§
STANDARD = 0
CMP register is always active (standard compare mode)
CAPTURE1 = 1
CMP is recomputed and is active following a capture 1 event
CAPTUREX_COMPARE1 = 2
CMP is recomputed and is active following a capture 1 event or a Compare 1 match
CAPTUREX_COMPARE3 = 3
CMP is recomputed and is active following a capture 1 event or a Compare 3 match
Implementations§
Trait Implementations§
§impl Ord for Delcmp
impl Ord for Delcmp
§impl PartialOrd for Delcmp
impl PartialOrd for Delcmp
§fn partial_cmp(&self, other: &Delcmp) -> Option<Ordering>
fn partial_cmp(&self, other: &Delcmp) -> 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 Delcmp
impl Eq for Delcmp
impl StructuralEq for Delcmp
impl StructuralPartialEq for Delcmp
Auto Trait Implementations§
impl RefUnwindSafe for Delcmp
impl Send for Delcmp
impl Sync for Delcmp
impl Unpin for Delcmp
impl UnwindSafe for Delcmp
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