Enum stm32_metapac::lptim::vals::Trigen
#[repr(u8)]pub enum Trigen {
SOFTWARE = 0,
RISINGEDGE = 1,
FALLINGEDGE = 2,
BOTHEDGE = 3,
}
Variants§
SOFTWARE = 0
software trigger (counting start is initiated by software)
RISINGEDGE = 1
rising edge is the active edge
FALLINGEDGE = 2
falling edge is the active edge
BOTHEDGE = 3
both edges are active edges
Implementations§
Trait Implementations§
§impl Ord for Trigen
impl Ord for Trigen
§impl PartialOrd for Trigen
impl PartialOrd for Trigen
§fn partial_cmp(&self, other: &Trigen) -> Option<Ordering>
fn partial_cmp(&self, other: &Trigen) -> 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 Trigen
impl Eq for Trigen
impl StructuralEq for Trigen
impl StructuralPartialEq for Trigen
Auto Trait Implementations§
impl RefUnwindSafe for Trigen
impl Send for Trigen
impl Sync for Trigen
impl Unpin for Trigen
impl UnwindSafe for Trigen
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