Enum stm32_metapac::lptim::vals::Ccsel
#[repr(u8)]pub enum Ccsel {
OUTPUTCOMPARE = 0,
INPUTCAPTURE = 1,
}
Variants§
OUTPUTCOMPARE = 0
channel is configured in output PWM mode
INPUTCAPTURE = 1
channel is configured in input capture mode
Implementations§
Trait Implementations§
§impl Ord for Ccsel
impl Ord for Ccsel
§impl PartialOrd for Ccsel
impl PartialOrd for Ccsel
§fn partial_cmp(&self, other: &Ccsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Ccsel) -> 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 Ccsel
impl Eq for Ccsel
impl StructuralEq for Ccsel
impl StructuralPartialEq for Ccsel
Auto Trait Implementations§
impl RefUnwindSafe for Ccsel
impl Send for Ccsel
impl Sync for Ccsel
impl Unpin for Ccsel
impl UnwindSafe for Ccsel
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