Enum stm32_metapac::timer::vals::Ossr
#[repr(u8)]pub enum Ossr {
DISABLED = 0,
IDLELEVEL = 1,
}
Variants§
DISABLED = 0
When inactive, OC/OCN outputs are disabled
IDLELEVEL = 1
When inactive, OC/OCN outputs are enabled with their inactive level
Implementations§
Trait Implementations§
§impl Ord for Ossr
impl Ord for Ossr
§impl PartialOrd for Ossr
impl PartialOrd for Ossr
§fn partial_cmp(&self, other: &Ossr) -> Option<Ordering>
fn partial_cmp(&self, other: &Ossr) -> 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 Ossr
impl Eq for Ossr
impl StructuralEq for Ossr
impl StructuralPartialEq for Ossr
Auto Trait Implementations§
impl RefUnwindSafe for Ossr
impl Send for Ossr
impl Sync for Ossr
impl Unpin for Ossr
impl UnwindSafe for Ossr
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