#[repr(u8)]pub enum Divmode {
DIV,
LEVEL,
RISE,
FALL,
}
Variants§
DIV
Free-running counting at rate dictated by fractional divider
LEVEL
Fractional divider operation is gated by the PWM B pin.
RISE
Counter advances with each rising edge of the PWM B pin.
FALL
Counter advances with each falling edge of the PWM B pin.
Implementations§
Trait Implementations§
source§impl Ord for Divmode
impl Ord for Divmode
source§impl PartialEq<Divmode> for Divmode
impl PartialEq<Divmode> for Divmode
source§impl PartialOrd<Divmode> for Divmode
impl PartialOrd<Divmode> for Divmode
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 Divmode
impl Eq for Divmode
impl StructuralEq for Divmode
impl StructuralPartialEq for Divmode
Auto Trait Implementations§
impl RefUnwindSafe for Divmode
impl Send for Divmode
impl Sync for Divmode
impl Unpin for Divmode
impl UnwindSafe for Divmode
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