#[repr(u8)]pub enum Divmode {
DIV = 0,
LEVEL = 1,
RISE = 2,
FALL = 3,
}
Variants§
DIV = 0
Free-running counting at rate dictated by fractional divider
LEVEL = 1
Fractional divider operation is gated by the PWM B pin.
RISE = 2
Counter advances with each rising edge of the PWM B pin.
FALL = 3
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 PartialOrd for Divmode
impl PartialOrd for Divmode
impl Copy for Divmode
impl Eq for Divmode
impl StructuralPartialEq for Divmode
Auto Trait Implementations§
impl Freeze for Divmode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)