Enum esp32c6_hal::pcnt::channel::CtrlMode
source · pub enum CtrlMode {
Keep,
Reverse,
Disable,
}
Expand description
PCNT channel action on control level
Variants§
Keep
Keep current count mode
Reverse
Invert current count mode (increase -> decrease, decrease -> increase)
Disable
Hold current count value
Trait Implementations§
impl Copy for CtrlMode
Auto Trait Implementations§
impl RefUnwindSafe for CtrlMode
impl Send for CtrlMode
impl Sync for CtrlMode
impl Unpin for CtrlMode
impl UnwindSafe for CtrlMode
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