#[repr(u8)]pub enum Ctmode {
TIMER = 0,
COUNTER_RISING_EDGE = 1,
COUNTER_FALLING_EDGE = 2,
COUNTER_DUAL_EDGE = 3,
}Variants§
TIMER = 0
Timer mode
COUNTER_RISING_EDGE = 1
Counter mode rising edge
COUNTER_FALLING_EDGE = 2
Counter mode falling edge
COUNTER_DUAL_EDGE = 3
Counter mode dual edge
Implementations§
Trait Implementations§
Source§impl Ord for Ctmode
impl Ord for Ctmode
Source§impl PartialOrd for Ctmode
impl PartialOrd for Ctmode
impl Copy for Ctmode
impl Eq for Ctmode
impl StructuralPartialEq for Ctmode
Auto Trait Implementations§
impl Freeze for Ctmode
impl RefUnwindSafe for Ctmode
impl Send for Ctmode
impl Sync for Ctmode
impl Unpin for Ctmode
impl UnwindSafe for Ctmode
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