Enum stm32_metapac::timer::vals::Urs
#[repr(u8)]pub enum Urs {
ANYEVENT = 0,
COUNTERONLY = 1,
}
Variants§
ANYEVENT = 0
Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
COUNTERONLY = 1
Only counter overflow/underflow generates an update interrupt or DMA request
Implementations§
Trait Implementations§
§impl Ord for Urs
impl Ord for Urs
§impl PartialOrd for Urs
impl PartialOrd for Urs
§fn partial_cmp(&self, other: &Urs) -> Option<Ordering>
fn partial_cmp(&self, other: &Urs) -> 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 Urs
impl Eq for Urs
impl StructuralEq for Urs
impl StructuralPartialEq for Urs
Auto Trait Implementations§
impl RefUnwindSafe for Urs
impl Send for Urs
impl Sync for Urs
impl Unpin for Urs
impl UnwindSafe for Urs
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