Enum stm32_metapac::hrtim::vals::Syncsrc
#[repr(u8)]pub enum Syncsrc {
MASTERSTART = 0,
MASTERCOMPARE1 = 1,
TIMERASTART = 2,
TIMERACOMPARE1 = 3,
}
Variants§
MASTERSTART = 0
Master timer Start
MASTERCOMPARE1 = 1
Master timer Compare 1 event
TIMERASTART = 2
Timer A start/reset
TIMERACOMPARE1 = 3
Timer A Compare 1 event
Implementations§
Trait Implementations§
§impl Ord for Syncsrc
impl Ord for Syncsrc
§impl PartialOrd for Syncsrc
impl PartialOrd for Syncsrc
§fn partial_cmp(&self, other: &Syncsrc) -> Option<Ordering>
fn partial_cmp(&self, other: &Syncsrc) -> 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 Syncsrc
impl Eq for Syncsrc
impl StructuralEq for Syncsrc
impl StructuralPartialEq for Syncsrc
Auto Trait Implementations§
impl RefUnwindSafe for Syncsrc
impl Send for Syncsrc
impl Sync for Syncsrc
impl Unpin for Syncsrc
impl UnwindSafe for Syncsrc
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