Enum stm32_metapac::lptim::vals::Wavpol
#[repr(u8)]pub enum Wavpol {
POSITIVE = 0,
NEGATIVE = 1,
}
Variants§
POSITIVE = 0
The LPTIM output reflects the compare results between LPTIM_ARR and LPTIM_CMP registers.
NEGATIVE = 1
The LPTIM output reflects the inverse of the compare results between LPTIM_ARR and LPTIM_CMP registers.
Implementations§
Trait Implementations§
§impl Ord for Wavpol
impl Ord for Wavpol
§impl PartialOrd for Wavpol
impl PartialOrd for Wavpol
§fn partial_cmp(&self, other: &Wavpol) -> Option<Ordering>
fn partial_cmp(&self, other: &Wavpol) -> 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 Wavpol
impl Eq for Wavpol
impl StructuralEq for Wavpol
impl StructuralPartialEq for Wavpol
Auto Trait Implementations§
impl RefUnwindSafe for Wavpol
impl Send for Wavpol
impl Sync for Wavpol
impl Unpin for Wavpol
impl UnwindSafe for Wavpol
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